Asynchronous IO is hard!
an example from tomcat
The tomcat 6 developers have proposed an asynchronous IO extension as their solution for Comet and Ajax push. I have long argued that asynchronous handling is needed for Servlets (for comet and other use-cases), but that it is very important to make the distinction between asynchronous IO and asynchronous handling of requests. Asynchronous programming is hard and asynchronous IO even harder. I maintain that asynchronous IO should be implemented by the container and that only asynchronous events should be delivered to an asynchronous servlet. As if to illustrate my point,the example code that tomcat provide for their asynchronous IO contains some classic bugs and inefficiencies that I examine here as they well illustrate why we should be making all efforts possible to encapsulate asynchronous IO below the level of the servlet API.
Jetty 6 Continuations a Hack?
a response to
The IBM developer works article "Java EE meets Web 2.0" argues the case well that asynchronous concerns must be addressed in web-2.0. However it concludes that Jetty continuations are a quick hack and that Tomcat has the more sane and straightforward approach! We investigate this claim.
Comet Daily
new site for Ajax Comet insight
I'll be contributing to the new Comet Daily website which aims to provide daily articles and blog entries about Comet techniques. The contributors are all leading software engineers who build Comet servers, clients, and web applications.
