Servlet 3.0 Async support added

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Servlet 3.0 Async support added

Jeanfrancois Arcand
Salut,

that one was painful to implement (not sure I like the way you need can
enable async...it is quite complicated and you end up having to parse
web.xml). Anyway this is why Atmosphre exists: make it simple!

For the curious, the Servlet 3.0 implementation can be seen here:

https://atmosphere.dev.java.net/nonav/xref/org/atmosphere/container/Servlet30Support.html

but to make it work without breaking Servlet 2.5 implementation I needed
to do:

https://atmosphere.dev.java.net/nonav/xref/org/atmosphere/cpr/AtmosphereServletContextListener.html

I would have preferred to have a API I can call direclty to enable
asyncSupport :-)


Enjoy! It will be part of 0.1 ALPHA-2.

-- Jeanfrancois

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]