Chapter 11. A Message-Driven Bean Example

Message-driven beans can implement any messaging type. Most commonly, they implement the Java Message Service (JMS) technology. The example in this chapter uses JMS technology, so you should be familiar with basic JMS concepts such as queues and messages. To learn about these concepts, see Chapter 20, “Java Message Service Concepts.”

This chapter describes the source code of a simple message-driven bean example. Before proceeding, you should read the basic conceptual information in the section “What Is a Message-Driven Bean?” in The Java EE 6 Tutorial: Basic Concepts as well as “Using Message-Driven Beans to Receive Messages Asynchronously” on page 370.

The following topics are addressed here:

• “Overview ...

Get The Java EE 6 Tutorial: Advanced Topics, Fourth 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.