Oracle Fusion Order Demo Application

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.
Note - the R2 version of the demo only consist of the ADF related parts of the demo.
The 11.1.1.x versions of the demo also include 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 Production, aka R2 (the application will not run in previous versions of JDeveloper). Previous versions of the demo are not compatible with the 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_R2.zip to your hard drive
  2. In JDeveloper, 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.port The port for your database. For example, 1521
    jdbc.sid The SID of your database. For example,
    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:


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.