Skip Headers
Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide
10g (10.1.3.5.0)

Part Number E13981-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

Configuring a Default Data Source for an EJB 2.1 Application

You can configure a default data source for an EJB 2.1 application using deployment XML (see "Using Deployment XML").

For more information, see the following:

Using Deployment XML

To configure a default data source for an EJB 2.1 application, do the following:

  1. Set the name of the default data source in the default-data-source attribute of the orion-application element in your orion-application.xml file.

  2. Set the name of the default data source in the data-source attribute of the entity-deployment element in your orion-ejb-jar.xml file.

  3. Define the default data source in the <OC4J_HOME>/j2ee/home/config/data-sources.xml file.