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.1. Messaging Architectures

Let's begin with a discussion of how one might send data between clients in an enterprise application. Consider the architecture shown in Figure 8-1. All clients are tightly coupled. This arrangement makes each client aware of other clients in a many-to-many relationship. In a Remote Procedure Call (RPC) environment (such as Java RMI), each business method represents a call which may be remote across a network. Because these calls are synchronous, the client's thread blocks and cannot proceed until the business method completes.

Figure 8-1. Synchronous Architecture

Tightly coupled RPC architectures can have problems. ...

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