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:
svn co https://svn.codehaus.org/jetty/jetty/trunk jetty-6.2
patch -p0 < patches/servlet-3.0.patch
mvn clean install
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.
Testing and feedback are most welcome!
Anonymous · 17/03/2008 at 01:33
Fantastic, downloading from svn right now. What is the ETA on 6.2?
Anonymous · 20/03/2008 at 20:58
6.2 (trunk) has been renamed to 7.0 and now has the servlet 3.0 patch applied.
Comments are closed.