| Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide 10g Release 3 (10.1.3) B14428-01 |
|
![]() Previous |
![]() Next |
To configure the J2CA message service provider, you must:
Install and configure the J2CA adapter (see "Installing and Configuring a J2CA Adapter").
Choose appropriate JNDI names for your connection factory (see "J2CA Message Service Provider Connection Factory Names").
Configure the appropriate deployment XML files (see "Configuring OC4J Deployment XML Files").
Associate the J2CA message service provider with the message-driven beans that will use it.
For more information, see:
For more information, see "J2EE Connector Architecture (J2CA) Adapter Message Provider".
|
Note: For a complete code example of configuring a J2CA message service provider resource adapter and MDB application, seehttp://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-gjra-with-oracleasjms/doc/how-to-gjra-with-oracleasjms.html. |
The actual JNDI names for the destination and connection factory depend on your J2CA installation as defined in your oc4j-connectors.xml file (see "Configuring OC4J Deployment XML Files").
Typically, it will be composed of java:<Prefix>/<FactoryName> where <Prefix> is an optional JNDI location like comp/env/eis and <FactoryName> is the name of the javax.cci.ConnectionFactory for your adapter.
OC4J includes the Oracle JMS Connector: a generic JMS J2CA resource adapter that integrates OC4J with OracleAS JMS and OJMS message service providers, as well as non-Oracle JMS providers such as WebSphereMQ, Tibco, and SonicMQ.
For more information, see "Overview: Administering Resource Adapters" in the Oracle Containers for J2EE Resource Adapter Administrator's Guide.
To configure a J2CA message service provider, you must configure the following deployment XML files:
ra.xml
oc4j-ra.xml
oc4j-connectors.xml
For more information, see:
"Binding and Configuring a Connection Factory: Basic Settings" in the Oracle Containers for J2EE Resource Adapter Administrator's Guide
"OC4J Resource Adapter Configuration Files" in the Oracle Containers for J2EE Resource Adapter Administrator's Guide