Show TOC

Procedure documentationImplementing 1.0 Resource Adapter Locate this document in the navigation structure

 

The JCA standard defines three system-level contracts, which the resource adapter implements:

  • Connection management

  • Transaction management

  • Security management

The connector architecture also provides a set of standard APIs to enable the implementation of the above contracts. In addition, the resource adapter might implement its specific interfaces to ensure connectivity to the specific EIS it is developed for.

Procedure

The implementation of a resource adapter involves the following steps:

Within these three steps you have to provide implementation for the interfaces from two packages:

  • javax.resource.cci — this part of the API enables the client-side connectivity to the EIS.

  • javax.resource.spi — this part of the API enables the application server to create the physical connection to the EIS and to access the system-level contracts.

In addition, you can implement interaction functions in the resource adapter.