O'Reilly logo

EJB 3 in Action by Derek Lane, Reza Rahman, Debu Panda

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

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