In addition to the WebSocket support we've added into the next major release of WebLogic Server (version 12.1.2 with all usual caveats with respect to release timeframes, no guarantee, etc.) we've also added support for the HTML5 ServerSent-Event model through collaborating with the GlassFish team and integrating the GlassFish ServerSent-Event feature.
The HTML5 ServerSent-Event model provides a mechanism to allow
browser clients to establish a uni-directional communication path to a
server, where the server is then able to push messages to the browser at
any point in time.
browsers that allows the client to establish connections
to the server and register callback functions to handle events as they come in over
the connection, which can then be used to make any necessary page updates.
Some good sources of information on ServerSent-Events/EventSources are:
The runtime component of the feature uses CDI to instantiate and manage the handlers and support the injection of them into other application components as well as setting up and managing the asynchronous connection for each client.
Jitu from the GlassFish team provided some information on the feature earlier in the year:
Besides being an interesting new feature with lots of possibilities, this also serves to demonstrate how the WebLogic and GlassFish teams are cooperating and producing innovative outcomes.