|
| Internet Messaging Bus The Internet Messaging Bus (IMB) gives developers Comet messaging, which can be used to develop any number of real-time applications. Nexaweb first developed it's Comet technology 6 years ago and it has been used in many mission critical applications ranging from Network Management to Foriegn Exchange. Even though the infrastructure it self is very complex, developers work with a very simple API that uses a publish/subscribe metaphor for building their applications. The following are the list of APIs you will need to interact with the IMB:
Code Samplesdojo.addOnLoad(function(){ var imbSession = new nexaweb.imb.Session({}); imbSession.createSession(); imbSession.getMessagingService().subscribe("chat", function(topic, message){ alert(message); }); function onButtonClicked(){ nexaweb.imb.getSession().getMessagingService(). publish("chat", dojo.byId("messageBox").value); } Server InfrastructureThe Internet Messaging Bus can be completely configured from the server-side to manage the release of connections and how the IMB will be configured at startup. Every aspect of the Server Infrastructure is fully instrumented and configurable. All thread pools, message policies, and cluster configuration are located in the nexaweb-server.xml and nexaweb-client.xml. Also provided is a service console that can be used to trouble shoot problems, go to your application and bring up the page http://<server-address>:<port-number/<application-name>/Nexaweb/Services/index.jsp. The image below shows a diagram of the topologies the IMB supports as well as some applications, which may take advantage of the topology.
Internet messaging gets struck by a comet
|