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:

  1. If you have not already done so, open the Embedded OC4J Server Preferences dialog:
    1. In the navigator, select a project.
    2. From the main menu, choose Tools | Em bedded OC4J Server Preferences.
  2. 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.

  3. Define or redefine data sources. Select the Data Sources page, and

Administering the Embedded OC4J Server

 

Copyright © 1997, 2004, Oracle. All rights reserved.