Adding Comet to your GWT application in less than 10 minutes!
Abstract
The Google Web Toolkit (GWT) enables Ajax applications to be developed with the traditional user interface widget paradigm. With GWT, developers can build complete web applications by writing pure Java? programming language code (with widgets, listeners, and events) and then, using the GWT compiler, generate Ajax-based HTML and JavaScript? programming language code compatible with a wide range of browsers.
Because Ajax-based applications are almost becoming the de facto technology for designing web-based applications, it is more and more important that such applications react on the fly, or in real time, to both client and server events. When data is updated by either client or server components, it is increasingly necessary to update the web-based application in real time, such as in the case of Gmail. Comet request processing is a technique that enables real-time updates of both client and server components constituting a web-based application.
This Quickie highlights how to build GWT-based applications that can take advantage of the Ajax push (a.k.a. Comet) technique to deliver real-time rich Internet applications (RIAs). It demonstrates how easy it is to combine Comet and GWT to facilitate the creation of real-time RIA applications using Jetty and Grizzly WebServer.
Speaker
Jean-Francois Arcand works for Sun Microsystems. He currently leads project Grizzly, an extended NIO based framework used in multiples products. He also works on Web 2.0 topics like Ajax performance and leads the Comet activities at Sun.