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).