O'Reilly logo

The Java EE 6 Tutorial: Advanced Topics, Fourth Edition by Ricardo Cervera-Navarro, William Markito, Devika Gollapudi, Ian Evans, Eric Jendrock, Kim Haase, Chinmayee Srivathsa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required