Jetty-6 Continuations introduced the concept of asynchronous servlets to provide scalability
and quality of service to web 2.0 applications such as chat,
collaborative editing, price publishing, as well as powering HTTP based
frameworks like cometd, apache camel, openfire XMPP and flex BlazeDS.
With the introduction of similar asynchronous features in Servlet-3.0, some
have suggested that the Continuation API would be deprecated. Instead,
the Continuation API has been updated to provide a simplified portability run asynchronously
on any servlet 3.0 container as well as on Jetty (6,7 & 8).
Continuations will work synchronously (blocking) on any 2.5 servlet
container. Thus programming to the Continuations API allows your
application to achieve asynchronicity today without waiting for the
release of stable 3.0 containers (and needing to upgrade all your
associated infrastructure). wt58jhp2an
[Read More]
Posted at 02:11AM Jul 06, 2009 by gregw in General | Comments[1]
Asynchronous Restful Webapplication
This blog annotates the Jetty 7 example web application that uses Jetty asynchronous HTTP client and the proposed suspendable servlets 3.0 API, to call an eBay restful web service. The technique combines the Jetty asynchronous HTTP client with the Jetty servers ability to suspend servlet processing, so that threads are not held while waiting for rest responses. Thus threads can handle many more requests and web applications using this technique should obtain at least ten fold increases in performance.[Read More]
Posted at 05:59AM Aug 15, 2008 by gregw in General | Comments[4]
Posted at 07:50PM Nov 22, 2007 by gregw in General | Comments[2]