Mantis - Resin
Viewing Issue Advanced Details
1945 minor always 08-15-07 11:54 09-17-07 08:13
sam  
ferg  
urgent  
closed 3.1.2  
fixed  
none    
none 3.1.3  
0001945: Comet style asynchronous requests
(rep by M Thompson)

Using Resin, to provide event driven web
applications using Comet (Reverse AJAX) style frameworks.

We could use
DWR <http://getahead.org/dwr/> [^] with Resin but this does not reuse the
connection in the same way as it does with Jetty Continuations
<http://docs.codehaus.org/display/JETTY/Continuations> [^] it is also
possible with DWR and Lightstreamer <http://www.lightstreamer.com/> [^] .
Other web containers such as Weblogic support asynchronous Servlets as
an extension via AbstractAsyncServlet
<http://e-docs.bea.com/wls/docs92/javadocs/weblogic/servlet/http/AbstractAsyncServlet.html> [^] .

Given how Resin does not tie a thread to a connection it should be an
relatively easy extension to allow the connection to be managed
asynchronously to decouple the handling the request from the response.
This is a planned feature of the upcoming Servlet specification.

Tomcat has builtin support for Comet, doc is here:
http://tomcat.apache.org/tomcat-6.0-doc/aio.html [^]

Notes
(0002298)
ferg   
09-17-07 08:13   
server/1l*