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

Get Enterprise JavaBeans™ Component Architecture: Designing and Coding Enterprise Applications 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.