Show TOC

Developing JCA Resource AdaptersLocate this document in the navigation structure

Use

The Java Connector Architecture (JCA) technology provides a unified architecture for connecting the AS Java to heterogeneous Enterprise Information Systems (EIS). The adapters are modules that are deployed on the application server and provide unified access to the EIS for any application components that are also installed on the server.

JCA involves integration of three underlying mechanisms:

  • Connection pooling

  • Transaction management

  • Security management

These system-level contracts enable the communication between the deployed resource adapter and the application server. They also define a close relation between the connector services and the AS Java Transaction Service and Security Provider Service.

JCA in the AS Java enables easy and uniform connectivity to external resources using resource adapters or the interfaces that the connector services provide.

The Connector Container Service enables the deployment of resource archives (RAR files) on the AS Java. It also provides overall connection management by registering all client requests for connections. The Connector Container Service offers support for connection pooling. You can use the functions this service provides to develop and deploy a resource adapter following the requirements of the JCA 1.5 standard.

Procedure

1. Create a Connector Project in the Developer Studio

You can use the SAP NetWeaver Developer Studio to organize the components of the connector module and its deployment descriptors.

More information: Creating Connector Projects in the Developer Studio

2. Implement the Resource Adapter

You can choose between the two supported versions of the JCA specification:

3. Assemble and Configure the Resource Adapter

It is essential that you configure properly the resource adapter properties and pack it before deploying and using it.

More information: Assembling and Configuring the Resource Adapter

4. Deploy the Resource Adapter

To deploy the resource adapter, use one of the common methods for deployment of applications.

More information: Deploying Applications

5. Use the Resource Adapter to Obtain a Connection

More information: Using Resource Adapter to Obtain a Connection

6. Drive an Interaction with the EIS

More information: Driving an Interaction with the EIS