10.2. The JMS API
This section provides an overview of the JMS API. It is impossible to describe the whole API in detail here: A whole book would be required. What follows is the minimum information required to begin writing EJB applications that use messaging services.
The Java Message Service (JMS) API supports the basic features of point-to-point (queue-based) and publish-subscribe (topic-based) messaging. A Java application that uses this API should be able to interact with a messaging service in a vendor-independent manor. The API is defined in a set of Java interfaces; JMS services supply Java platform classes that implement these interfaces and that communicate with their messaging products (Figure 10.5).
Figure 10.5. Basic architecture ...
Get Applied Enterprise JavaBeans™ Technology now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.