Message-ID: <992402329.13195.1413954597149.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_13194_147539629.1413954597148" ------=_Part_13194_147539629.1413954597148 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= .=20
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>=20
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 libraries can help, as it allows asynchronous IO to be used and th= reads can be allocated to connections only when requests are being processe= d. When the connection is idle between requests, then the thread can be ret= urned to a thread pool and the connection can be added to an NIO select set= to detect new requests. This thread-per-request model allows much greater = scaling of connections (users) at the expense of a reduced maximum requests= per second for the server as a whole (in Jetty 6 this expense has been sig= nificantly reduced).
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 i= nnovative strategies to ensure that only the resources that are actually re= quired are assigned to a connection and only for the duration of they are n= eeded. This careful resource management gives Jetty an architecture designe= d to scale to meet the needs of AJAX applications=20