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

8.7. Key Point Summary

This chapter shows you how to design message-driven beans with the Java Message Service (JMS). In enterprise systems, message-driven beans communicate with other objects asynchronously (no waiting). Designs with message beans are scalable because message beans are stateless. The container uses instance pooling to handle a large number of messages concurrently.

Here are the key points from this chapter.

  • In a synchronous architecture, clients are tightly coupled with each other. A client's thread blocks until a method completes. Adding or removing clients is difficult.

  • In an asynchronous architecture, clients are loosely coupled and communicate through a centralized server. Method calls return without blocking. Adding or removing ...

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