Configuring Your Project to Use the Embedded OC4J Server

By default, JDeveloper uses the embedded OC4J server to run, debug, profile, CodeCoach, and test the deployment of J2EE applications and modules. However, you need to configure the various J2EE settings to properly set all web site bindings (controlled in the web.xml file) in your project. Specifically, you need to define the default J2EE application name and web context root.

For information on deploying to other OC4J targests, see Deploying to the Oracle Application Server or Standalone OC4J.

To configure the J2EE settings to use the embedded OC4J server:

  1. Right-click a project in the Navigator and choose Project Properties from the context menu.

  2. Below the Common node, click the J2EE node to display its configuration panel.

  3. Enter the appropriate information as required for the J2EE Web Application Name and J2EE Web C ontext Root.

  4. Click Help for more information.

  5. Click OK.

All web applications deployed to the connection will be bound to the specified web site. You define the standalone OC4J connection and the target web site with the Connection Wizard in JDeveloper. When creating and deploying a web module deployment profile, you can use these project default names or specify another J2EE application name or J2EE web context root.


Related topics

Starting the Embedded OC4J Process

Terminating the Embedded OC4J Process
About J2EE Deployment

 

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