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

Get J2EE™ Applications and BEA™ WebLogic Server™ 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.