8-28 Java EE Developers Guide for Oracle Application Development Framework
8.4.1 How to Deploy to the Application Server from JDeveloper
Before you begin: Create an application-level deployment profile that deploys to an EAR file.
To deploy to the target application server from JDeveloper: 1.
In the Application Navigator, right-click the application and choose Deploy deployment profile
.
2. In the Deploy wizard Deployment Action page, select Deploy to Application
Server
and click Next. 3.
In the Select Server page, select the application server connection.
4.
If you are deploying to a WebLogic Server instance, the WebLogic Options page appears. Select a deploy option and click Next.
5. Click Finish.
During deployment, you can see the process steps displayed in the deployment Log window. You can inspect the contents of the modules archives or exploded
EAR being created by clicking on the links that are provided in the log window. The archive or exploded EAR file will open in the appropriate editor or directory
window for inspection.
If the adf-config.xml file in the EAR file requires MDS repository configuration, the Deployment Configuration dialog appears for you to choose the
target metadata repository or shared metadata repositories, as shown in Figure 8–3
. The Repository Name dropdown list allows you to choose a target
metadata repository from a list of metadata repositories registered with the Administration Server. The Partition Name dropdown list allows you to choose
the metadata repository partition to which the applications metadata will be imported during deployment. You can use WLSTwsadmin scripts, Oracle
WebLogic Server Administration Tool, or WebSphere Administrative Tool, respectively, to configure and register MDS. For more information about
Note: When you are deploying to Oracle WebLogic Server from
JDeveloper, ensure that the HTTP Tunneling property is enabled in the Oracle WebLogic Server Administration Console. This property is
located under Servers ServerName Protocols. ServerName refers to the name of Oracle WebLogic Server.
Note:
JDeveloper does not support deploying applications to individual Managed Servers that are members of a cluster. You may
be able to target one or more Managed Servers within a cluster using the Oracle WebLogic Server Administration Console or other Oracle
WebLogic tools; however, the cluster can be negatively affected. For more information about deploying to Oracle WebLogic Server
clusters, see the Oracle Fusion Middleware Administrators Guide.
Note: If you are deploying an ADF application, do not use the
Deploy to all instances in the domain option.
Deploying an ADF Java EE Application 8-29
managing the MDS repository, see the Oracle Fusion Middleware Administrators Guide.
Figure 8–3 MDS Configuration and Customization for Deployment
For more information on creating application server connections, see Section 8.3.1,
How to Create a Connection to the Target Application Server.
8.4.2 How to Create an EAR File for Deployment