Oracle Fusion Order Demo Application For JDeveloper 11.1.1.x


About the Oracle Fusion Order Demo Application

Fusion Order Demo (FOD) is an end-to-end application sample developed by Fusion Middleware Product Management. The purpose of the demo is to demonstrate common use cases in Fusion Middleware applications, including the integration between different components of the Fusion technology stack, (ADF, BPEL, and WebCenter). The demo contains several applications that make up various parts of functionality.

This document includes instructions related specifically to the StoreFront portion of the application. For further information and release notes, refer to the readme.txt file available within the root directory of the extracted demo zip.

Store Front Demo Requirements

The application has the following basic requirements:

  • An Oracle database (any modern edition) is required for the sample schema
  • JDeveloper 11.1.1.6 Production, aka PS5 (the application will not run in previous versions of JDeveloper). You must use the PS5 version of JDeveloper. Additionally, previous versions of the demo are not compatible with the PS5 version of JDeveloper - see the bottom of the page for links to older versions of the demo.
  • Screen resolution of 1024 x 768 or higher

Installing the Sample Schema

 

  1. Extract FusionOrderDemo_R1PS6.zip to your hard drive
  2. In JDeveloper 11.1.1.7, choose File > Open from the main menu
  3. Browse to the location where you extracted the zip in Step 1 and select Infrastucture.jws from the Infrastructure directory. Click Open
  4. Expand the MasterBuildScript project and Resources node
  5. Double click build.properties to open it in the editor
  6. Modify the following properties for your environment:
  7. jdeveloper.home The /jdeveloper directory where you have JDeveloper 11 installed. For example, C:/JDeveloper_11/jdeveloper/
    jdbc.urlBase The base jdbc url for your database in the format jdbc:oracle:thin:@<yourhostname>.
    For example,
    jdbc:oracle:thin:@localhost
    jdbc.port The port for your database. For example, 1521
    jdbc.sid The SID of your database. For example,
    ORCL
    or XE

    db.adminUser The administrative user for your database. For example, system

    db.demoUser.tablespace The tablespace name where the FOD user will be installed. For example, USERS

    Keep all other properties set to their default values. The demo user must be named FOD.

  8. Choose File > Save All from the main menu
  9. In the application navigator, under the Resources node, Right click build.xml and choose Run Ant Target > buildAll
  10. Enter the password for the system account on your database

The ant script creates the FOD user and populates the tables in the FOD schema. In the Apache Ant - Log, you will see a series of sql scripts and finally:

buildAll:

BUILD SUCCESSFUL
Total time: nn minutes nn seconds



Running the Sample

To run the sample in JDeveloper:

  1. Choose File > Open from the main menu
  2. Browse to the location where you extracted the demo zip and select StoreFrontModule.jws from the StoreFrontModule directory. Click Open
  3. In the Application Navigator, expand the Application Resources accordion. Expand the Connections and Database nodes. Right click FOD and choose Properties
  4. Modify only the following properties so that they point to the database where you installed the FOD schema:
    Host Name The hostname for your database. For example, localhost
    JDBC Port The port for your database. For example, 1521
    SID The SID for your database. For example, ORCL or XE

    The connection must be named FOD (case sensitive) and the username and password must be fod/fusion. Click OK.

  5. In the Application Navigator, right click StoreFrontService and choose Rebuild
  6. Right click StoreFrontUI and choose Run. The home.jspx page within the StoreFrontUI project is the default run target and will launch the main application screen
  7. Note that several other examples are included in the demo. View the readme.txt file in the root directory of the demo for more information about the workspaces included in the demo


Deploying the Sample

There are several ways to deploy the sample. If you are an ADF developer are are looking for ADF business component, task flow, and ADF Faces rich client examples, the easiest way to deploy the sample is via the "right-click, run" method described above. This will configure the integrated WLS server will all the relevant components required for the StoreFront demo.

To deploy the example to a SOA-enabled WLS server in order to integrate the StoreFront portion of the demo with the CompositeServices (BPEL) portion of the demo, follow the instructions in the readme.txt file located in the CompositeServices directory of the extracted zip file.


If you are using an older version of Oracle JDeveloper you can use the following demo files instead:
For JDeveloper 11g R1 (build 5407) use FusionOrderDemo_R1.zip.
For JDeveloper 11g R1 PS1 (build 5336) use FusionOrderDemo_R1PS1.zip.
For JDeveloper 11g R1 PS2 (build 5660) use FusionOrderDemo_R1PS2.zip.
For JDeveloper 11g R1 PS3 (build 5923) use FusionOrderDemo_R1PS3.zip.
For JDeveloper 11g R1 PS4 (build 6013) use FusionOrderDemo_R1PS4.zip.
For JDeveloper 11g R1 PS5 (build 6229) use FusionOrderDemo_R1PS5.zip.