This example introduces the Push via JMS capability - messages from the Java Messaging System are observed by RichFaces Push and transported via Comet to the client.

For the purpose of observing events from the server, the client creates a permanent connection to the server either by using a WebSocket connection or the long-polling method. Permanent connections are managed by the Atmosphere Framework.

In this example the Message payload is serialized to JSON and transfered to the client. On the client-side, a `dataavailable` event is triggered with the `event.rf.data` payload which contains the serialized data.