O'Reilly logo

Applied Enterprise JavaBeans™ Technology by Kevin Boone

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required