Creating a Connection to Standalone Oracle Application Server Containers for J2EE (OC4J)

By default, JDeveloper runs applications in the JDeveloper embedded OC4J server to enable testing and debugging before deploying to a target application server. JDeveloper also supports deployment to standalone OC4J instances that are not within the Oracle Application Server. JDeveloper establishes connection with a standalone OC4J instance via the J2EE administration console command-line tool, admin.jar. To do this, you must first provide the connection information to an OC4J instance to which you want to deploy.

Important: If you plan on deploying your applications directly to an Oracle Application Server, JDeveloper lets you can create a connection to Oracle Application Server via local or remote Distributed Configuration Management (DCM). See also About Deploying on Oracle Application Server.

To create a connection to an OC4J instance:

  1. In the Navigator, click + to expand the connections_icon Connections node.
  2. Right-click application_server_icon Application Servers.
  3. Choose New Connection from the context menu.
    The Connection Wizard - Welcome page is displayed.
  4. Click Next.
  5. Enter a Connection Name for this connection.
  6. In the Connection Type list box, select Standalone OC4J.
  7. Click Next.
  8. Enter the Username and Password for the OC4J admin user to authenticate the connection. This information was specified when OC4J was installed. Default: admin/manager.
  9. Select the Deploy Password checkbox if you want to bypass authentication the next time you make this connection. Your password is deployed with your project's connection.xml file.
  10. Click Next.
  11. On the Connection page, configure the standalone OC4J settings as appropriate. Click Help for more information.
  12. Click Next.
  13. Click Test Connection.
  14. If your connection is successful, click Finish. Otherwise, click Back to return to the previous wizard pages and fix any configuration(s) setting.
    The configuration to deploy your J2EE applications to a standalone OC4J instance is complete.

Notes:


Related topics
Creating and Deploying a J2EE EJB Module (EJB JAR) to OC4J
Creating and Deploying a J2EE Web Module Deployment Profile (WAR) to OC4J
BC4J Deployment Prerequisites for OC4J Deployment
Deploying a BC4J Web Application to OC4J
Deploying BC4J as an EJB Session Bean to OC4J
About the Embedded OC4J Server