Chapter 4. Messaging and developing MDBs
This chapter covers
- Introducing messaging concepts
- Building a message producer using JMS
- Developing MDBs
In this chapter we’ll take a closer look at developing message-driven beans (MDBs) as well as provide you with an overview of the concepts and technologies these powerful EJB 3 components build on. First we’ll introduce you to basic messaging concepts, and then we’ll explore the Java Messaging Service (JMS) by creating a message producer. Finally, we’ll take a look at MDBs, the EJB 3 answer to messaging.
You should gain an understanding of messaging and JMS before diving into MDB for two reasons. First, most MDBs you’ll encounter are glorified JMS message consumers implementing JMS interfaces ...
Get EJB 3 in Action 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.