Message-ID: <564003110.5355.1369506043371.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_5354_1111915672.1369506043371" ------=_Part_5354_1111915672.1369506043371 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Jetty 6 is a fully featured web server for static and d= ynamic content. Unlike separate server/container solutions, this means that= your web server and web application run in the same process, without inter= connection overheads and complications. in addition, as a pure java compone= nt, Jetty 6 can be simply included in your application for demonstration, d= istribution or deployment. It is available on all Java supported platforms.= Open Source Jetty 6 is developed under the guidance of Mort Bay Consulting= .
Jetty 6 is the new implementation of Jetty HTTP Server and Servlet Conta= iner. Unlike the older version of jetty, jetty 6 focus on a 3rdp= arty dependencies by reducing its previous dependencies so that it would be= easier to embed it with other applications. Jetty 6 has been developed wit= h the concrete foundation of technology which supports the different kinds = of open source technologies (AJAX Continuations, NIO, JAVA API's).<= /strong>
Jetty 6 comes with the new set of connectors based on Sun's non blocking IO= (NIO) which can be found in org.mortbay.jetty.nio package. The NIO librari= es can help, as it allows asynchronous IO to be used and threads can be all= ocated to connections only when requests are being processed. When the conn= ection is idle between requests, then the thread can be returned to a threa= d pool and the connection can be added to an NIO select set to detect new r= equests. This thread-per-request model allows much greater scaling of conne= ctions (users) at the expense of a reduced maximum requests per second for = the server as a whole (in Jetty 6 this expense has been significantly reduc= ed).
Jetty 6 supports a new feature called Continuations that will allow sca= lable AJAX applications to be built, with threadless waiting for asynchrono= us events. As per scalability it is one of the major concerns of this produ= ct that would be supported by the advent of AJAX with the response to offer= a feature called Continuations. Where in it allows a request to be suspend= ed and resumed later in the process. In addition it is a java Filter or Ser= vlet that is handling an AJAX request, may now request a Continuation objec= t that can be used to effectively suspend the request and free the current = thread. The request is resumed after a timeout or immediately if the resume= method is called on the Continuation object. Jetty 6 employs a number of = innovative strategies to ensure that only the resources that are actually r= equired are assigned to a connection and only for the duration of they are = needed. This careful resource management gives Jetty an architecture desig= ned to scale to meet the needs of AJAX applications