Deploying a J2EE Application from JDeveloper 10g
Deploying a J2EE Application from JDeveloper 10g
This tutorial shows you how to use JDeveloper to archive and deploy J2EE
applications (either ADF or non-ADF applications) to Oracle Application Server 10g.
Deployment is the process of packaging the files that make up an application
as an archive file, and transferring the archive to the server where the application
will run. This tutorial shows you how to use JDeveloper to deploy applications to the OracleAS through application server connections.
The basic steps are:
1. Create the application as a JDeveloper project.
2. Package the project components into a deployment
profile and specify deployment resources.
3. Create an application server connection to the Oracle
Application Server.
4. Deploy the packaged application to the Oracle Application
Server.
The tutorial discusses the following:
This tutorial should take about an hour to complete.
Move
your mouse over this icon to show all screenshots. You can also move your mouse
over each individual icon to see only the screenshot associated with it.
This tutorial shows you how to use JDeveloper to package
and deploy the model and view components of both J2EE and ADF applications.
The J2EE application is composed of an EJB as the
model component and a JSP as the view component. The model is deployed to
an EJB JAR file with the JSP deployed to a WAR file. Once each component has
been deployed to the appropriate archive, both are included in an EAR file,
then deployed to the Oracle Application Server 10g.
The ADF application view component is archived to
a WAR file and then deployed to the Oracle Application Server 10g.
In both the J2EE and ADF deployments, the application can then be accessed
using a browser.
Back to Topic
List
To complete this OBE, you must download
and install two JDeveloper workspaces. Each contains a sample application for
you to deploy. These applications access the Sample Schema Human Resources database
objects. It is very important to create and name the JDeveloper Database Connections
according to the specifications found in the second step of the prerequisites.
In order for this lesson to work successfully, you
need to have performed the following:
In this step, you will load two application workspaces in JDeveloper and
test the applications using the embedded OC4J server. One workspace contains
a J2EE application with a JSP as the view and an EJB defining the business
rules. The second workspace contains an ADF application.
JDeveloper supports deploying your applications to a variety of production application
servers, via application sever connections. You must create a connection to
deploy applications directly to Oracle Application Server 10g from
JDeveloper.
In this step you create an archive for the J2EE components, deploy it to
the Oracle Application Server 10g, and test it from a browser.
Create and Deploy
a JAR file for the J2EE EJB Model Project
Create and Deploy a WAR
file for the J2EE View Project
Create and Deploy
an EAR file for the Complete J2EE Application
Test the J2EE
Application Deployment
In this step you create an archive for the J2EE components, deploy it to
the Oracle Application Server 10g, and test it from a browser. .
Install the ADF Runtime
Libraries
Back to List
Create
and Deploy a WAR file for the ADF ViewController Project
Test the ADF Application
Deployment
In this tutorial you archived and deployed a J2EE application
and an ADF application to Oracle Application Server 10g.
Back to Topic
List
- Creating a JAR archive for the model components of a
J2EE application
- Creating a WAR archive for the view components of a J2EE application
- Creating an EAR archive for the entire application
- Deploying the J2EE application to Oracle Application Server
- Testing the J2EE application deployment
- Installing the ADF runtime libraries
- Creating a WAR archive for the view components of an ADF application
- Deploying the ADF application to Oracle Application Server
- Testing the ADF application deployment
Installing
the Sample Schemas and Establishing a Database Connection
Move your mouse over this icon to hide all screenshots
|