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 for the user interface, Oracle TopLink and Enterprise JavaBeans 3.0 Session beans for persistence and the service façade respectively, and Oracle ADF data binding to manage the integration between the user interface as the service façade.
This sample is the basis of many of the examples used within the Oracle ADF Developer's Guide and can be used as a companion to that guide whilst becoming familiar with the JDeveloper IDE and the Oracle ADF Framework.
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.
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 for JDeveloper is also installed. If you do not already have the JUnit extension installed within JDeveloper, selecting the SRDemo sample will automatically select the JUnit extension and you will be prompted to accept the JUnit license conditions.
You can also download the SRDemo 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.