Understanding Connection Management

Connection management can be a very confusing subject, especially for programmers who are new to J2EE and JCA. But it is also one of the most important aspects of the JCA architecture. In the context of JCA, connection management means creating and managing the connections between J2EE applications and connected EIS. This task is distributed between the resource adapter and the application server. After all, the resource adapter is supposed to connect applications components (EJB) hosted by application servers with one or more instances of EIS. It is this distributed nature of managing connections that may be intimidating to some programmers.

The client contracts in Figure 10.2 define connections and connection ...

Get Java™ Connector Architecture: Building Custom Connectors and Adapters now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.