Web messaging service client reference

The Web messaging service uses the Bayeux protocol for client/server publish/subscribe operations. There are many benefits to using the Bayeux protocol communication including:

A Web browser using Ajax communication is the intended client for using the Web messaging service. The Dojo toolkit includes a Bayeux client for communicating to a Bayeux enabled server. If your Ajax toolkit of choice does not include Bayeux support, it is possible to write your own JavaScriptTM Bayeux client by following the Bayeux protocol spec and implementing the required client logic.

Even though an Ajax client is the intended client for use with the Web messaging service, any other client that supports the Bayeux protocol might work. When enabling Web messaging application security or deploying a Web messaging application to a cluster, you must make sure the client supports the necessary security and session affinity function to successfully operate. Many clients are currently in development and should work with the Web messaging service as long as they compatible with the Bayeux protocol and support the Web messaging service security and clustering features if enabled.