Configuring Data Sources for the Embedded OC4J Server
Use the Data Sources branches of the Embedded OC4J Server Preferences
dialog to specify the database connections that will be used by deployed
applications. The configuration is recorded in <jdev_install
>/jdev/system<release_number>/oc4j-config/data-source.xml
, but this file should not be edited except through the Embedded OC4J Server
Preferences dialog, as described here.
A default data source, named OracleDS, is predefined. You can modify
OracleDS and create new data sources.
To configure data sources for the embedded OC4J server:
-
If you have not already done so, open the Embedded OC4J Server
Preferences dialog:
-
In the navigator, select a project.
-
From the main menu, choose Tools | Em
bedded OC4J Server Preferences.
-
If you are configuring the global services, expand the Global - Data
Sources branch of the dialog's tree, and work in its pages. If you are
configuring local services for the selected project's workspace, use
the Current Workspace - Data Sources branch.
For specific information about a dialog page, click
Help.
-
Define or redefine data sources. Select the Data Sources page, and
-
click New to create a new data
source, or
-
select a data source (a child of the Data Sources page) to open it
in a Data Sources <Instance> page, in which you can
browse or modify it, or
-
select a data source and click
Delete to remove it.
Related topics
Administering the Embedded OC4J Server
Copyright © 1997, 2004, Oracle.
All rights reserved.