JSF and HTML 5 intersection - Server Sent Events
By alexismp on Jan 11, 2012
Note: if you're reading this using a feedreader, please make sure you've updated to the updated TheAquarium feed.
Roger Kitain from the GlassFish JSF team has made available a recent article he wrote for JAX's Java Tech Journal titled "JSF 2 and HTML 5 Server Sent Events".
The article explores how one of many many HTML5 technologies, Server Sent Events (SSE), can be incorporated in a JSF UI. It includes sample code for creating JSF composite components used for a stock quote application that features server-initiated page refreshes (using SSE).
While not as powerful as the WebSocket protocol, HTML 5 Server Sent Events can used to provide partial page refresh without moving away from the HTTP protocol.