Java Message Service (JMS) API

The Java Message Service (JMS) API defines a common set of interfaces for interacting with messaging systems. The JMS API ensures asynchronous communication and reliable delivery between an application component and a messaging system. The JMS API supports two types of messaging that can take place:

  • Point-to-Point Protocol The Point-to-Point (P2P) Protocol consists of peer communication between two application components. The JMS API defines P2P as a set of interfaces that can be used by application components to interact with messaging systems. Since P2P is a peer communication, there is only a single sender and a single receiver.

  • Publish-subscribe The other messaging mechanism, publish-subscribe, is also supported by the JMS API as a set of interfaces that can be used by application components. In the publish-subscribe mechanism, there can be multiple subscribers (receivers). A copy of the message is generated by the queue and sent to each individual subscriber.

Vendors of messaging systems expose their systems using drivers compliant with the JMS API specification, thus enabling application components to access the messaging systems in a unified manner.



Sams Teach Yourself BEA WebLogic Server 7. 0 in 21 Days
Sams Teach Yourself BEA WebLogic Server 7.0 in 21 Days
ISBN: 0672324334
EAN: 2147483647
Year: 2002
Pages: 339

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net