Oracle Application Server Containers for J2EE (OC4J) is integrated in JDeveloper. JDeveloper lets you run your application in the embedded OC4J server so you can test and debug before deploying to a target application server.
When you run a UIX project in the IDE, JDeveloper automatically starts the embedded OC4J server, launches your default browser, and displays the output in your browser.
Note: No server connection or deployment setup is required when you run and deploy to the embedded OC4J server for testing. You can, however, configure the project properties to define a default application name and web context root, as described in the following procedure.
To deploy and test a UIX application in the embedded OC4J server:
In the Application Navigator, locate the project of the UIX application that you want to test.
Right-click the project and choose Proje ct Properties from the context menu.
In the Project Properties dialog's tree, select Common | J2EE.
Enter the appropriate information as required for the
J2EE Web Application Name and J2EE Web C
ontext Root. The context root is the virtual path of the URL that a
user enters in a browser to access the web application. For example,
in the URL http://localhost:8989/<virtualpath>/
<homepage>.uix
, <virtualpath>
is
the context root.
Click OK when done.
In the Application Navigator, right-click the project and choose Run <projectname>.jpr.
JDeveloper automatically starts the embedded OC4J server, launches your default web browser, and displays the output in the browser.
Notes:
About UIX Deployment
Dependencies
About UIX Deployment-Specific Initialization Parameters
About Shared UIX Installable Resources
About OC4J Directory Structure for UIX Deployment
About Tomcat Directory Structure for UIX Deployment
Configuring OC4J for UIX Deployment
Viewing Deployed Web Applications in a Browser
Copyright © 1997, 2004, Oracle. All rights reserved.