Follow these guidelines when deploying applications associated with web services:
Use Oracle Enterprise Manager Fusion Middleware Control to deploy Java EE applications that require Oracle Metadata Services (MDS) or that take advantage of the Oracle Application Development Framework (Oracle ADF). For more information, see Deploying, Undeploying, and Redeploying Java EE Applications.
If your application is a SOA composite, use the SOA Composite deployment wizard. For more information, see Deploying, Undeploying, and Redeploying SOA Composite Applications.
If your application is not a SOA composite or it does not require an MDS repository or ADF connections, then you can deploy your application using Fusion Middleware Control or the Oracle WebLogic Server Administration Console. For more information, see Deploying, Undeploying, and Redeploying Oracle ADF Applications.
For more information about deploying applications, see "Deploying Applications" in Administering Oracle Fusion Middleware.
This chapter includes the following sections:
To deploy a web service application:
Archive is on the machine where this web browser is running.
Archive or exploded directory is on the server where Enterprise Manager is running.
Automatically create a new deployment plan
Deployment plan is present on local host
Deployment plan is already present on the server where Enterprise Manager is running
A deployment plan is an XML file that you use to configure an application for deployment to a specific environment. If you do not already have a deployment plan for the web service application you are deploying, one is created for you when you deploy the application.
Deploy this archive or exploded directory as an application
Deploy this archive or exploded directory as a library
Figure 3-2 Select Target Page
However, if you want to be able to redeploy this web service application later without first having to undeploy it, you must also assign a version number.
The context root is the URI for the web module. Each web module or EJB module that contains web services may have a context root.
Figure 3-3 Application Attributes Page
Figure 3-4 Deployment Settings Page
Figure 3-5 Edit Deployment Plan
To undeploy a web service application:
The Application Deployment is displayed
The undeploy confirmation page is displayed.
Processing messages are displayed.
Redeploy an application if:
You have made changes to the application and you want to make the changes available.
You have made changes to the deployment plan.
You want to redeploy an entirely new archive file in a new location.
When you redeploy an application, you can redeploy the original archive file or exploded directory, or you can specify a new archive file in place of the original one. You can also change the deployment plan that is associated with the application.
Applications that were previously deployed without a version cannot be redeployed. To redeploy the not-versioned applications, you need to undeploy and deploy the application.
The steps that you follow to redeploy a web service application are identical to those required when you first deployed the application, as described in "Deploying Web Service Applications", with two exceptions: you must redeploy the application with a new version, and you can optionally set the retirement policy for the current version. Both of these actions occur at Step 3 of redeployment process, as shown in Figure 3-6.
Figure 3-6 Setting Application Attributes During Redeploy