O'Reilly logo

J2EE™ Applications and BEA™ WebLogic Server™ by Sandra L. Emerson, Rob Woollen, Michael Girdley

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 10. Using Message-Driven EJBs

In this chapter:

  • Message-Driven EJB Lifecycle

  • Writing Deployment Descriptors for Message-Driven Beans

  • Message-Driven Beans and Concurrency

  • Using Transactions with Message-Driven Beans

  • Message-Driven Bean Advantages

Session and entity beans use a well-defined interface for processing workflow from client requests. Enterprise JavaBeans (EJB) clients use the home and remote interfaces to make synchronous Remote Method Invocation (RMI) calls to the EJB server. The client thread making the EJB call blocks until the EJB server call returns. As discussed in Chapter 7, Enterprise Messaging with the Java Message Service (JMS), messaging allows an asynchronous model. Instead of waiting for the server's response, the client ...

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