SRDemo is a moderately complex, data entry application based around a self service problem and inquiry logging system for a vendor of household appliances. The application comprises 16 pages, with three different user perspectives of the application based on security privileges.
The sample uses JavaServer Faces and ADF Faces components for the user interface, ADF Business Components for the business service, and Oracle ADF Model for declarative data binding to integrate the user interface and the business service.
This sample is the basis of many of the examples used within the Oracle ADF Developer's Guide for Forms/4GL Developers and can be used as a companion to that guide while familiarizing yourself with the JDeveloper IDE and the Oracle ADF Framework.
Note: if this is your first time using Oracle ADF, we highly recommend taking advantage of the companion Oracle ADF Tutorial for Forms/4GL Developers. It takes you step-by-step through building a simplified version of this SRDemo sample application.
The sample covers a wide range of realistic scenarios and use cases that a developer using Oracle ADF will typically encounter. These include:
For more information on how to exploit these features and many more, consult the Oracle ADF Developers Guide for Forms/4GL Developers.
To successfully install and run the sample you must meet the following conditions:
The SRDemo sample is available from the JDeveloper update center on OTN. To download and install the sample:
The sample application requires that the JUnit Extension and JUnit Integration for Business Components extensions are also installed. If you do not already have these extensions installed within JDeveloper, selecting the Oracle ADF SRDemo Application (ADF BC Version) extension will automatically select the dependent ones and you will be prompted to accept the JUnit license conditions.
You can also download the Oracle ADF SRDemo Application (ADF BC Version) extension manually from here, and then point the check-for-update to your local file to install the sample
Once the sample extension is downloaded, you will be prompted to restart JDeveloper. When JDeveloper restarts the sample installation process will begin. The install carries out the following tasks.
Once the installation process has completed a readme file will open in the editor area explaining how to deploy and run the sample, refresh the database data, and how to remove the sample data and files. The sample is ready to run immediately.