BEA Logo BEA WebLogic Server Release 6.1

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

  |  

  WebLogic Server Doc Home   |     J2EE Connector Architecture   |   Previous Topic   |   Next Topic   |   Contents   |   View as PDF

Writing J2EE Connector Architecture- Compliant Resource Adapters

 

The following sections identify the requirements for developing a compliant Resource Adapter, as identified in the J2EE Platform Specification, Version 1.3, Proposed Final Draft 3—http://java.sun.com/j2ee. The following sections correspond to the System Contract requirements identified in this specification:

In addition, any Weblogic specific limitations/restrictions are identified.

Note: For instructions on building a resource adapter, see the BEA WebLogic Application Integration documentation at: http://download.oracle.com/docs/cd/E13214_01/wlintegration/v2_0/applicationintegration/devel/index.htm

 


Connection Management

The connection management contract requirements for a resource adapter are as follows:

 


Security Management

The security management contract requirements for a resource adapter are as follows:

 


Transaction Management

This section outlines the transaction management contract requirements for a resource adapter. A resource adapter can be classified based on the level of transaction support, as follows:

Note: Other levels of support (includes any transaction optimizations supported by an underlying resource manager) are outside the scope of the Connector Architecture.

The above levels reflect the major steps of transaction support that a resource adapter needs to make to allow external transaction coordination. Depending on its transaction capabilities and requirements of its underlying EIS, a resource adapter can choose to support any one of the above transaction support levels.

 


Packaging and Deployment

The following sections discuss packaging and deployment requirements for resource adapters.

Restrictions

At present, the WebLogic J2EE Connector Architecture supports only serializable ConnectionFactory implementations. (Referenceable-only ConnectionFactory implementations are not supported.)

In addition, the WebLogic J2EE Connector Architecture does not support the javax.resource.spi.security.GenericCredential credential-interface or the Kerbv5 authentication-mechanism-type. Specification of either of these values for the <authentication-mechanism> in the ra.xml file for the resource adapter being deployed will result in a failed deployment.

Packaging

The file format for a packaged resource adapter module defines the contract between a resource adapter provider and deployer. A packaged resource adapter includes the following elements:

Deployment

For information on packaging requirements, refer to section 10.3.1, "Resource Adapter Provider," and section 10.5.1, "Responsibilities," of the J2EE Connector Specification, Version 1.0, Proposed Final Draft 2 (http://java.sun.com/j2ee/download.html#connectorspec). Section 10.3.1 discusses deployment requirements, while section 10.5.1 discusses how to support JNDI Configuration and Lookup.

 

back to top previous page next page