Chapter 34. J2EE Examples Using the JMS API

This chapter provides examples that show how to use the JMS API within a J2EE application in the following ways:

  • Using a session bean to send messages that are consumed by a message-driven bean using a message selector and a durable subscription

  • Using an application client to send messages that are consumed by two message-driven beans; the information from them is stored in an entity bean

  • Using an application client to send messages that are consumed by a message-driven bean on a remote server

  • Using an application client to send messages that are consumed by message-driven beans on two different servers

The examples are in the following directory:

<INSTALL>/j2eetutorial14/examples/jms/

To build and ...

Get The J2EE™ Tutorial Second Edition 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.