2
Introduction to the ADF Desktop Integration Sample Application 2-1
2
Introduction to the ADF Desktop Integration Sample Application
This chapter provides an overview of the Master Price List module, which is the ADF Desktop Integration module’s sample application. The Master Price List module is a
module in the Fusion Order Demo application. It contains several Microsoft Excel workbooks that are integrated with a Fusion web application.
This chapter includes the following sections:
■
Section 2.1, Introduction to the Master Price List Module
■
Section 2.2, Setting Up and Executing the Master Price List Module
■
Section 2.3, Overview of the Fusion Web Application in the Master Price List Module
■
Section 2.4, Overview of the Integrated Excel Workbooks in the Master Price List Module
2.1 Introduction to the Master Price List Module
The Master Price List module allows end users to download information product names, prices, and so on about electronic devices that are sold through a
storefront-type web application. End users can search the downloaded information, modify pricing information, and upload the modified information to the Fusion web
application.
You must set up your development environment before you can set up and run the Master Price List module. After you set up your development environment, you can
download the Fusion Order Demo application, which includes the Master Price List module.
2.2 Setting Up and Executing the Master Price List Module
Set up your development environment as described in Chapter 3, Setting Up Your
Development Environment , so that you can run the Master Price List module.
Once you have set up your development environment, download the Fusion Order Demo application, which includes the Master Price List module. For information about
how to download the Fusion Order Demo application, see the How to Download the Application Resources section in the Oracle Fusion Middleware Fusion Developers Guide
for Oracle Application Development Framework.
The Fusion Order Demo application that you download includes a directory named Infrastructure. This directory includes scripts that create the users and data that
2-2 Desktop Integration Developers Guide for Oracle Application Development Framework
the Fusion Order Demo application and Master Price List module require. For information about how to run these scripts, see the How to Install the Fusion Order
Demo Schema section in the Oracle Fusion Middleware Fusion Developers Guide for Oracle Application Development Framework.
To run the Master Price List module: 1.
Open the MasterPriceList.jws file in JDeveloper. This file is located in the MasterPriceList subdirectory of the directory into
which you extracted the Fusion Order Demo application.
2.
In the Application Navigator, click the Application Resources accordion title to expand the panel.
3. Right-click FOD connection and choose Properties.
4.
In the Edit Database Connection dialog, modify the connection information shown in
Table 2–1 for your environment.
Do not modify the user name and password fodfusion. These must remain unchanged. Click OK.
5. In the Application Navigator, right-click Model and choose Rebuild Model.jpr.
6. In the Application Navigator, right-click ViewController and choose Rebuild
ViewController.jpr .
7. In the Application Navigator, expand the ViewController project, right-click
login.jspx and choose Run.
The login.jspx page runs and displays a login form.
8. To log on as an administrator, enter sking in the User Name field and welcome1
in the Password field. To log on as a manager, enter ahunold in the User Name field and welcome1 in the Password field. For more information about users, see
Section 2.4.1, Log on to the Fusion Web Application from an Integrated Excel Workbook.
Note: If you have an old version of ADF Desktop Integration
installed on your system, you must do the following:
1.
Upgrade ADF Desktop Integration as described in Section 3.7,
Upgrading ADF Desktop Integration.
2.
Refresh your Fusion Order Demo schema as described in How to Install the Fusion Order Demo Schema section in the Oracle Fusion Middleware
Fusion Developers Guide for Oracle Application Development Framework.
Table 2–1 Database Connection Properties for the Master Price List Module
Property Description
Host Name The host name for your database. For example:
localhost
JDBC Port The port for your database. For example:
1521
SID The SID of your database. For example:
ORCL or XE
Introduction to the ADF Desktop Integration Sample Application 2-3
You can now open and connect the integrated Excel workbooks described in Section 2.4, Overview of the Integrated Excel Workbooks in the Master Price List
Module to the Fusion web application that the Master Price List module deploys.
2.3 Overview of the Fusion Web Application in the Master Price List Module