Create an Account
username: password:
 
  MemeStreams Logo

MemeStreams Discussion

search


This page contains all of the posts and discussion on MemeStreams referencing the following web page: Ajaxian: Java Web Server: Jetty 6.0 Continuations for Ajax Architectures. You can find discussions on MemeStreams as you surf the web, even if you aren't a MemeStreams member, using the Threads Bookmarklet.

Ajaxian: Java Web Server: Jetty 6.0 Continuations for Ajax Architectures
by dmv at 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:


 
 
Powered By Industrial Memetics