Deploying ADF Applications Using Fusion Middleware Control

Deploying Applications 10-17 For example, to deploy the application myApp: deploymyApp,scratchapplicationsmyApp, targets=myserver, timeout=120000 To deploy the application using the Oracle WebLogic Server Administration Console: 1. If you have not already done so, in the Change Center of the Administration Console, click Lock Edit. 2. In the left pane of the Administration Console, select Deployments. 3. In the right pane, click Install.

10.4.2 Undeploying Oracle ADF Applications

To undeploy an Oracle ADF application using Fusion Middleware Control: 1. From the navigation pane, expand Application Deployments, then the application to undeploy. The application home page is displayed. 2. From the Application Deployment menu, choose Application Deployment, then Undeploy. The confirmation page is displayed. 3. Click Undeploy. Processing messages are displayed. 4. When the operation completes, click Close. Alternatively, you can navigate to the domain, Managed Server, or cluster. Then, from the targets menu, choose Application Deployment, then Undeploy. In the Select Application page, select the application you want to undeploy. Note that when you undeploy an application, documents stored in the MDS partition are not deleted.

10.4.3 Redeploying Oracle ADF Applications

When you redeploy an application, if the application contains a Metadata Archive MAR, the contents of the MAR is imported to the applications metadata repository only if the MAR is changed. If the MAR is unchanged from previous deployment of the application, it is ignored. To redeploy an Oracle ADF application using Fusion Middleware Control: 1. From the navigation pane, expand the farm, then Application Deployments. 2. Select the application. See Also: ■ Deployment Tools in Oracle Fusion Middleware Deploying Applications to Oracle WebLogic Server for more information about using WLST to deploy applications ■ Oracle Fusion Middleware WebLogic Scripting Tool Command Reference See Also: The Help in the Oracle WebLogic Server Administration Console 10-18 Oracle Fusion Middleware Administrators Guide The application home page is displayed. 3. From the Application Deployment menu, choose Application Deployment, and then Redeploy. The Select Application page is displayed. 4. Click Next. The Select Archive page is displayed. 5. In the Archive or Exploded Directory section, you can select one of the following: ■ Archive is on the machine where this browser is running. Enter the location of the archive or click Browse to find the archive file. ■ Archive or exploded directory is on the server where Enterprise Manager is running. Enter the location of the archive or click Browse to find the archive file. 6. In the Deployment Plan section, you can select one of the following: ■ Create a new deployment plan when deployment configuration is done. ■ Deployment plan is on the machine where this web browser is running. Enter the path to the plan. ■ Deployment plan is on the server where Enterprise Manager is running. Enter the path to the plan. 7. Click Next. The Application Attributes page is displayed. 8. In the Application Attributes section, for Application Name, enter the application name. 9. In the Context Root of Web Modules section, if the Web module does not have the context root configured in the application.xml file, you can specify the context root for your application. 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. 10. The Target Metadata Repository section is displayed. In this section, you can choose the repository and partition for this application: ■ To change the repository, click the icon next to the Repository Name. In the Metadata Repositories dialog box, select the repository and click OK. ■ To change the partition, enter the partition name in Partition Name. Oracle recommends that you create a new partition for each application. If you enter a name of a partition that does not exist, the partition is created. 11. If the applications adf-config.xml file archive contains MDS configuration for an MDS shared repository, the Shared Metadata Repository section is displayed. In this section, you can choose the repository and partition for this application. 12. Click Next. The Deployment Settings page is displayed. 13. On this page, you can perform common tasks before deploying your application or you can edit the deployment plan or save it to a disk. In the Deployment Tasks section, you can: ■ Configure Web modules ■ Configure application security Deploying Applications 10-19 ■ Configure persistence See Section 10.8 for detailed information about these options. 14. Expand Deployment Plan. You can edit and save the deployment plan, if you choose. 15. Click Deploy. Fusion Middleware Control displays processing messages. 16. When the deployment is completed, click Close. 17. In the Confirmation page, click Redeploy.

10.5 Deploying, Undeploying, and Redeploying SOA Composite Applications

SOA composite applications consist of the following: ■ Service components such as Oracle Mediator for routing, BPEL processes for orchestration, human tasks for workflow approvals, business rules for designing business decisions, and complex event processing for queries of event streams ■ Binding components services and references for connecting SOA composite applications to external services, applications, and technologies These components are assembled together into a SOA composite application. This application is a single unit of deployment that greatly simplifies the management and lifecycle of SOA applications. You can use Fusion Middleware Control, Oracle JDeveloper, or the command line to deploy, undeploy, or redeploy a SOA application. The following topics describe using Fusion Middleware Control to accomplish these tasks: ■ Deploying SOA Composite Applications ■ Undeploying SOA Composite Applications ■ Redeploying SOA Composite Applications

10.5.1 Deploying SOA Composite Applications

When you deploy a SOA composite application, the deployment extracts and activates the composite application in the SOA Infrastructure. You can deploy SOA composite applications from Fusion Middleware Control with the Deploy SOA Composite wizard: 1. From the navigation pane, expand the farm, then SOA, and then select soa-infra. The SOA Infrastructure home page is displayed. 2. From the SOA Infrastructure menu, choose SOA Deployment, then Deploy. The Deployment Wizard, Select Archive page is displayed, as shown in the following figure: See Also: Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle Business Process Management Suite 10-20 Oracle Fusion Middleware Administrators Guide 3. In the Archive or Exploded Directory section, specify the archive of the SOA composite application to deploy. The archive contains the project files of the application to be deployed for example, HelloWorld_rev1.0.jar for a single archive or OrderBooking_rev1.0.zip for multiple archives. 4. In the Configuration Plan section, optionally specify the configuration plan to include with the archive. The configuration plan enables you to define the URL and property values to use in different environments. During process deployment, the configuration plan is used to search the SOA project for values that must be replaced to adapt the project to the next target environment. 5. Click Next. The Select Target page appears. 6. In the SOA Partition section, select the partition into which to deploy this SOA composite application. Partitions enable you to logically group SOA composite applications into separate sections. Note that even if there is only one partition available, you must explicitly select it. Once deployed, a composite cannot be transferred to a different partition. 7. Click Next. The Confirmation page appears. 8. Review your selections. 9. Select whether or not to deploy the SOA composite application as the default revision. The default revision is instantiated when a new request comes in. 10. Click Deploy. Processing messages are displayed. 11. When deployment has completed, close the confirmation box. See Also: Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle Business Process Management Suite for complete information about deploying SOA Composite applications