Chapter 23. 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 31.
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? (page 747) as well as Using Message-Driven Beans (page 1121) in Chapter 31.
Example Application Overview
The SimpleMessageApp
application has the following components:
SimpleMessageClient
: An application client that sends ...
Get The Java™ EE 5 Tutorial, Third Edition: For Sun Java System Application Server Platform Edition 9 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.