Sunday Mar 16, 2008
A patch is now available for the development version of Jetty that introduces some of the proposed features for Servlet 3.0. Key among these is a suspend/resume API on the request object that is a proposed standardization the Jetty Continuation mechanism for asynchronous servlets.
The patch is against the 6.2-SNAPSHOT version in svn head. The following commands will checkout jetty, apply the patch and build the server:
The patch updates the cometd bayeux implementations to use the new API in the SuspendingCometdServlet class. Jetty's continuations have also been converted to a facade that calls the new ServletRequest.suspend() API.svn co https://svn.codehaus.org/jetty/jetty/trunk jetty-6.2
cd jetty-6.2
patch -p0 < patches/servlet-3.0.patch
mvn clean install
Testing and feedback are most welcome!
Posted at 09:33PM Mar 16, 2008 by gregw in General | Comments[2]
Posted by Anonymous on March 17, 2008 at 05:33 PM EST #
6.2 (trunk) has been renamed to 7.0 and now has the servlet 3.0 patch applied.
cheers
Jan
Posted by Anonymous on March 21, 2008 at 12:58 PM EST #