Home > Articles > Programming > Java

📄 Contents

  1. Why J2EE Connectors?
  2. How Do J2EE Connectors Work?
  3. Application Server Managing the Resource Adapter
  4. Conclusion
  • Print
  • + Share This
From the author of

Application Server Managing the Resource Adapter

The J2EE-CA model defines standard operating mechanisms between the application server and the J2EE connector's resource adapter. Each of these mechanisms is predicated on tight system-level interactions between the application server and the resource adapter. As an example, let's examine how interactions between the application server and the resource adapter function when a connection request is made.

When a connection is requested by the client application through the CCI, the resource adapter passes the request to the application server. The application server services the request through its connection manager. The connection manager first references the connection pool. If a connection is available for use, the connection manager returns a handle to the adapter. If no connection is available, the connection manager invokes the managedconnectionfactory in the resource adapter to create a new physical connection.

Figure 2

Connection Management Interaction under the J2EE-CA Architecture

The J2EE-CA model also defines other standard mechanisms to manage transactions, security certificates, and the deployment package. It also ensures facilities for error management and logging, which is an often overlooked but critical element of enterprise integration infrastructure.

  • + Share This
  • 🔖 Save To Your Account