HTML and CSS Reference
In-Depth Information
Atmosphere is the only portable WebSocket/Comet framework supporting Scala, Groo‐
vy, and Java. Atmosphere ( ) can run on any Java-based
web server, including Tomcat, Jetty, GlassFish, Weblogic, Grizzly, JBoss, Resin, and
more. The Atmosphere framework has both client (JavaScript, iQuery, GWT) and server
components. You can find many examples of how to use Atmosphere in your project at ( Figure 5-1 ).
The main concern when using WebSockets is graceful degradation, be‐
cause most mobile browsers and servers have mixed support. All the
frameworks mentioned (plus many more) support some kind of fallback
when WebSockets is not available within the browser. All of these fall‐
backs, however, share the same problem: they carry the overhead of
HTTP, which doesn't make them well suited for low-latency mobile
applications. Until all mobile browsers support WebSockets, this is a
problem users and developers are forced to deal with.
Search WWH ::

Custom Search