O'Reilly logo

Java for the Web with Servlets, JSP, and EJB: A Developer’s Guide to J2EE Solutions by Budi Kurniawan

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 33. Message-Driven Beans

Message-Driven Beans

In Chapter 32, “Java Message Service,” you learned about the messaging service and the Java Message Service ( JMS). This provides the basic knowledge for working with the third type of Enterprise JavaBeans (EJB): message-driven beans (MDB). Message-driven beans are a new type of bean added to the EJB 2.0 specification. The MDB model is designed to enable an enterprise bean to be asynchronously invoked to handle the processing of incoming JMS messages. With the other two types of beans, you can send and receive messages only synchronously, not asynchronously.

This chapter begins with a definition of message-driven ...

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