I just want to write a server based on XMPP for communication with different people all over the world Originally. Gradually I realise the powerful function of Jabber is not constrained to just chatting, It can not just serve for people but also for the software. It is the new form of MOM (Message Oriented Middleware ).
Basic Message Oriented Middleware provides connectionless, asynchronous transactional message store-and-forward capability. you can use it to integrate your new and already existing components inside your company and between different companies. And it has long been a fundamental part of a enterprise system. The merits of it I summarize as follows:
1.loose coupling : The message in the MOMs allow the applications have very loose coupling relationships. Rather than directly calling methods or remoting objects, or relying on tight coordination between distributed process, messages break a application into the distinct and independent parts. The messages link the parts together to perform complex tasks. It change some patterns that we regularly programed. Loose coupling eases the integration of disparate systems and prevents failures in one application from bringing the entire system down.
2.Communication over space and time : As we all kown, deliver message for communication is the basic ability of Jabber. The sender and the recipient can chat across space and time witht the aid of the store-and-forward mechanism. That means the sender can dispatch message to the recipient in other place while the recepient is not available.
3. scalable :
4. flexibility through an extra layer of abstraction :
to be continued.......