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,
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.2 Production, aka PS1
(the application will not run in previous versions of JDeveloper).
You must use the PS1 version of JDeveloper. Additionally,
previous versions of the demo are not compatible with the
PS1 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
- Firefox version 2.0, Safari, or Internet Explorer version 7.0 or higher
Installing the Sample Schema
- Extract FusionOrderDemo_R1PS1.zip
to your hard drive
- In JDeveloper 11.1.1.2, choose File
> Open from the main menu
- Browse to the location where you extracted the zip in Step 1 and select Infrastucture.jws from the Infrastructure directory. Click Open
- Expand the MasterBuildScript project and Resources node
- Double click build.properties to open it in the editor
- Modify the following properties for your environment:
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.
- Choose File > Save All from the main menu
- In the application navigator, under the Resources node, Right click build.xml and choose Run Ant Target > buildAll
- 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:
- Choose File > Open from the main menu
- Browse to the location where you extracted the demo zip and select StoreFrontModule.jws from the StoreFrontModule directory. Click Open
- In the Application Navigator, expand the Application Resources accordion. Expand the Connections and Database nodes. Right click FOD and choose Properties
- 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.
- In the Application Navigator, right click StoreFrontService and choose Rebuild
- 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
- 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 here:
Deploying
a JDeveloper SOA Application to Oracle WebLogic Server 11g
Additionally, a version of Fusion Order
Demo that extends the demo application to include WebCenter
functionality is available. More information can be found
here: Fusion Order Demo For WebCenter
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.
|