O'Reilly logo

Sams Teach Yourself EJB in 21 Days by Krishna Kothapalli, Ragae Ghaly

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

Understanding JMS Interfaces and Classes

The main concepts of the JMS API (interfaces and classes) are included in the javax.jms package. JMS interfaces are based on a set of common messaging concepts. Both the PTP and the Pub/Sub JMS messaging models define a customized set of interfaces for these common (patent) concepts. Table 13.1 summarizes the JMS common interfaces for both the PTP model and Pub/Sub model interfaces.

Table 13.1. Summary of PTP and Pub/Sub Interfaces
JMS Parent InterfacePTP SpecificPub/Sub Specific
ConnectionFactoryQueueConnectionFactoryTopicConnectionFactory
ConnectionQueueConnectionTopicConnection
DestinationQueueTopic
SessionQueueSessionTopicSession
MessageProducerQueueSenderTopicPublisher
MessageConsumerQueueReceiver, QueueBrowser ...

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