Wednesday, 1 July 2009
ICEfaces in GlassFish Update Center
« ICEfaces 1.8RC1, JSF 2.0, and Maven | Main | GlassFish Portfolio - ICEfaces PodCast »The ICEfaces demos are now easier to install than ever; just select them in the GlassFish update center for automatic installation. WebMC is included, allowing you to host your own slideshow conferences. Run ./updatecenter/bin/updatetool from your GlassFish install:
One of the key features of this set of demos is the included Ajax Push Server — it is essential for allowing multiple push applications to be used simultaneously from the same browser. Implementing push requires a persistent TCP connection to be maintained with the server to carry notifications to the browser, but according to the HTTP specification, a client should only open two connections to a given host. If each web application is handling push on its own, it's easy to see how multiple web applications can quickly exhaust the available TCP connections (we could also argue that distinct browser windows not sharing a JavaScript memory space are different clients, hence should have distinct TCP connections, but only Safari takes this rational approach). The solution is the ICEfaces Ajax Push Server.
By coordinating all of the push notifications for the different applications through a central point via JMS, it is possible to share a single connection to the browser, allowing an arbitrary number of applications to be accommodated without exceeding the two-connection limit. ICEfaces detects the presence of the required JMS topics (which are installed for you via the update center) and automatically takes advantage of the push server.
Posted by at 6:22 PM in Entries by Ted Goddard