16.10.2015 Views

Getting Started with WebSphere Application Server

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

112 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> Community Edition<br />

Figure 6.3 - Publish/Subscribe messaging model<br />

6.2.3 JMS API<br />

Table 6.1 below lists the essential APIs in JMS.<br />

JMS unified API<br />

Point-to-Point (Queue<br />

specific)<br />

Publish/Subscribe (Topic<br />

specific)<br />

ConnectionFactory QueueConnectionFactory TopicConnectionFactory<br />

Connection QueueConnection TopicConnection<br />

Destination Queue Topic<br />

Session QueueSession TopicSession<br />

MessageProducer QueueSender TopicPublisher<br />

MessageConsumer QueueReceiver TopicSubscriber<br />

Table 6.1 - JMS API<br />

The JMS unified API shown in the first column of Table 6.1 is the recommended API to<br />

use. This unified API started <strong>with</strong> JMS 1.1; it is merged from both, the Queue JMS API<br />

and the Topic JMS API by abstracting the same logic out of the two models.<br />

6.2.4 JMS application development steps in Community Edition<br />

To develop a JMS application <strong>with</strong> Community Edition, follow these steps:<br />

1. Configure a JMS resource group in Community Edition. This will be described in<br />

section 6.3.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!