WebLogic Fusion Order Demo Application

Introduction to the SOA Sample Application 3-3 ■ Oracle Business Rules ■ Spring ■ Oracle User Messaging Service ■ Oracle Business Activity Monitoring ■ Oracle Metadata Repository Once an order has been placed by using the Store Front module, the WebLogic Fusion Order Demo application processes the order. When processing an order, it uses various internal and external applications, including a customer service application, a credit validation system, and both an internal vendor and external vendor. For example, the internal vendor InternalWarehouseService and external vendor ExternalPartnerSupplier, are sent information for every order. As part of the order process, they each return a price for which they would supply the items in the order. A condition in the process determines which supplier is assigned the order. For information about SOA composite applications, see Chapter 1, Introduction to Building Applications with Oracle SOA Suite.

3.2 Setting Up the Fusion Order Demo Application

This section describes how to prepare the environment to run the WebLogic Fusion Order Demo application.

3.2.1 Task 1: Install Oracle JDeveloper Studio

Install Oracle JDeveloper 11g Studio Edition to create the WebLogic Fusion Order Demo application. You can download Oracle JDeveloper from: http:www.oracle.comtechnologyproductsjdev11index.html Ensure that you download and install 11g and that it is the Studio Edition, not the Java Edition. You can verify these details in Oracle JDeveloper from the Help About menu option. In order to create and deploy SOA composite applications and projects, you must install the Oracle SOA Suite extension. For instructions on installing this extension for Oracle JDeveloper, see the Oracle Fusion Middleware Installation Guide for Oracle JDeveloper.

3.2.2 Task 2: Install the Fusion Order Demo Application

Throughout this tutorial, you must view or use content from Fusion Order Demo in your Oracle JDeveloper environment. The Fusion Order Demo is contained within a ZIP file. To access the ZIP file: 1. Download the Fusion Order Demo application ZIP file FusionOrderDemo_ R1PS4.zip. You can download the ZIP file from: http:www.oracle.comtechnologyproductsjdevsamplesfodindex.ht ml 2. Unzip the file to a temporary directory. This tutorial refers to this directory as DEMO_DOWNLOAD_HOME. 3-4 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite

3.2.3 Task 3: Install Oracle SOA Suite

To successfully deploy and run the Fusion Order Demo applications, you must complete an installation for Oracle SOA Suite. Specifically, the domain contains an Administration Server and a Managed Server. Installing Oracle SOA Suite requires the following ■ Creating schemas for Oracle SOA Suite in an Oracle database ■ Installing Oracle WebLogic Server ■ Configuring a domain in Oracle WebLogic Server to support Oracle SOA Suite, Oracle Enterprise Manager, and optionally, Oracle BAM. Oracle BAM is not required for the Fusion Order Demo, but if an Oracle BAM Server is configured, Oracle BAM adapters send data to the Oracle BAM Server. After the domain is created, it contains an Administration Server to host Oracle Enterprise Manager Fusion Middleware Control for performing administrative tasks, a Managed Server to host deployed applications, and, if you configured Oracle BAM, a second Managed Server for the Oracle BAM Server. For instructions on installing and configuring Oracle SOA Suite, see the Oracle Fusion Middleware Installation Guide for Oracle SOA Suite and Oracle Business Process Management Suite. After successfully completing the installation process, perform the following additional configuration steps: 1. Enable the credentials that are included in the StoreFront module by adding a setting to the configuration file for the domain: a. Locate the configuration file set for the Oracle SOA Suite domain in the following directory: UNIX MW_HOMEuser_projectsdomainsdomain_namebinsetDomainEnv.sh Windows MW_HOME\user_projects\domains\domain_name\bin\setDomainEnv.cmd b. Add the following option to the JAVA_PROPERTIES UNIX or the SET JAVA_PROPERTIES Windows line: -Djps.app.credential.overwrite.allowed=true For more information about setting this property, see Oracle Fusion Middleware Fusion Developers Guide for Oracle Application Development Framework. c. If the Oracle WebLogic Server Administration Server is running, stop it: On UNIX, as the root user, change directories to directory MW_HOMEuser_ projectsdomainsdomain_namebin and enter the following command: .stopWebLogic.sh On Windows, from the Windows Start menu, select All Programs Oracle WebLogic User Projects domain_name Stop Admin Server. d. Start the Administration Server: On UNIX, from directory MW_HOMEuser_projectsdomainsdomain_ name bin, enter the following command: .startWebLogic.sh On Windows, from the Windows Start menu, select All Programs Oracle WebLogic User Projects domain_name Start Admin Server.