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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.