Create an Account
username: password:
 
  MemeStreams Logo

Ajaxian: Java Web Server: Jetty 6.0 Continuations for Ajax Architectures

search

dmv
dmv's Pics
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

dmv's topics
Arts
Business
Games
Health and Wellness
Home and Garden
Miscellaneous
Current Events
Recreation
Local Information
Science
Society
Sports
Technology

support us

Get MemeStreams Stuff!


 
Ajaxian: Java Web Server: Jetty 6.0 Continuations for Ajax Architectures
Topic: Miscellaneous 2:30 pm EDT, Sep 19, 2005

The solution is Continuations, a new feature introduced in Jetty 6. A java Filter or Servlet that is handling an AJAX request, may now request a Continuation object that can be used to effectively suspend the request and free the current thread. The request is resumed after a timeout or immediately if the resume method is called on the Continuation object. In the Jetty 6 chat room demo, the following code handles the AJAX poll for events:

Ajaxian: Java Web Server: Jetty 6.0 Continuations for Ajax Architectures



 
 
Powered By Industrial Memetics
RSS2.0