Silicon Valley Code Camp : October 3rd and 4th, 2009
Dr. Doris Chen, a staff engineer and Java Technology Evangelist at Sun Microsystems with over 10 years industry experience, her expertise includes Web 2.0/Ajax, JavaServer Faces, JavaFX, Java Platform, Enterprise Edition (Java EE) technologies, web services/SOA, Java ME platform wireless programming, Java technology performance tuning, grid computing, and web-based distributed computing. She speaks at major industry international conferences: JavaOne, Sun Network Conference, SD West Software Development, etc.
Doris received her Ph.D. from the University of California at Los Angeles (UCLA) in computer engineering, specializing in medical informatics. Before coming to Sun, Doris developed medical image compression applications and web-based network management products.
Join the asynchronous web revolution! 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. AJAX can be used to allow the browser to request information from the web server, but does not allow a server to push updates to a browser. Comet solves this problem. Comet is a technology that enables web clients and web servers to communicate asynchronously, allowing real-time operations and functions previously unheard of with traditional web applications to approach the capabilities of desktop applications.
This session will start to provide an brief introduction to the asynchronous web, AJAX polling, long polling, and Streaming, explaining the Bayeux protocol, Cometd, Grizzly Comet implementation on GlassFish. Different approaches and best practices to develop comet application will also be discussed. You will learn how to develop the chat application, how to implement distance learning slideshow application, how to manage a chat application from the server and how to develop a two-player distributed game application. Attendees will take away the tactics they need in order to add multiuser collaboration, notification and other Comet features to their application, whether they develop with Dojo, jQuery, jMaki, or Prototype and whether they deploy on Jetty, Tomcat, or the GlassFish Application Server.