Skip Headers
Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide
10g Release 3 (10.1.3)
B14428-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

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:

Using Deployment XML

To configure a default data source for an EJB 2.1 application:

  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.