Skip to main content

Jean-Francois Arcand: Writing Portable HTML5 WebSocket Application using the Atmosphere Framework

Jean-Francois Arcand talks about Writing Portable HTML5 WebSocket Application using the Atmosphere Framework:

The Atmosphere Framework now support the HTML5 WebSocket specification. If you don’t know what is WebSocket, I recommend you take a look at this introduction. As with Ajax Push/Comet, all major WebServer are starting supporting the specification, and guess what, all WebServer are doing it their own way. Sound familiar? Back in 2006, Jetty first introduced it’s Continuation API, closely followed by my Grizzly Comet Framework, and eventually we saw Tomcat AIO, Resin Comet and JBossWeb AIO native implementation. It took almost 4 years before Comet got standardized with the little-over-complicated Servlet 3.0 Async API. The exact same pattern is now happening, e.g. Jetty, Grizzly/GlassFish and Resin now support WebSocket, and again there is no portability across WebServer...

Community: Java Enterprise