Tuesday, March 29, 2011

oc4j-ra.xml(Adapter Integration with OAS Components)

oc4j-ra.xml is used to implement the Adapter Integration with OAS component.

Deployed as J2CA Resource Adapters during installation
J2CA resource adapter is packaged into RAR file as JAR format
Deployment descriptor for RAR is ra.xml
OC4J generates the oc4j-ra.xml deployment descriptor during deployment
oc4j-ra.xml contains connection information, JNDI name etc.

oc4j-ra.xml is the OC4J specific deployment descriptor for a resource adapter.
That is why name is given as oc4j-ra which means ORACLE CONTAINER FOR JAVA- RESOURCE ADAPTER .

It contains deployment configurations for deploying resource adapters to OC4J, which includes EIS connection information as specified in the deployment descriptor of the resource adapter, JNDI name to be used, connection pooling parameters, and resource principal mapping mechanism and configurations


Location of oc4j-ra.xml is

ORACLE_HOME/j2ee//application-deployments/default//oc4j-ra.xml
ORACLE_HOME/j2ee//connectors/datasources/META-INF/oc4j-ra.xml

and in the same location we can find ra.xml as well.

1 comment: