O'Reilly logo

Enterprise JavaBeans™ Component Architecture: Designing and Coding Enterprise Applications by Paul Anderson, Gail Anderson

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

Topics in This Chapter

  • Messaging Models

  • Overview of the Java Message Service (JMS)

  • Designing Message-Driven Beans

  • A Publisher Client and Message Bean

  • Message-Driven Beans with EJBs

The previous chapters showed you how to design session and entity beans with business methods. When clients call these business methods, each caller blocks (or waits) until the method completes. Although this synchronous behavior certainly works well with many applications, it can become a problem with clients who cannot afford to wait around for lengthy business methods to complete their jobs. In situations like this, we need another way for clients to perform enterprise tasks without waiting.

The Java Message Service (JMS) allows objects ...

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