|  |  |  | Oracle ADF SRDemo Application (ADF BC Version) |
|  |  | About the Oracle ADF SRDemo Application (ADF BC Version)
|  | The SRDemo application is a complete sample application based on Oracle ADF Business Components, ADF Model data bindings and JavaServer Faces. The technical aspects of this sample are discussed throughout the ADF Developer's Guide for Forms/4GL Developers.
|  | Read the Oracle ADF Developer's Guide for Forms/4GL Developers (In Online Help) (On the Oracle Technology Network)
|  | The sample is installed into the /jdev/samples/SRDemoSampleADFBC directory under your JDeveloper home directory
|  | SRDemo Requirements
|  | The application has the following basic requirements The JUnit extension for JDeveloper must be installed. If you installed from the Update Center this extension will have automatically been installed as well. An Oracle database (any edition) is required for the sample schema. The sample requires a specific database connection name called SRDemo. This will be automatically created for you if you install the sample from the Update Center.
|  | Database Installation Settings
|  | The Schema is installed using the following defaults:
Schema Name | SRDEMO
Schema Password | ORACLE
Temporary Tablespace | TEMP
Default Tablespace | USERS
DBA Account used to create the Schema | SYSTEM
To use a different set of settings, edit the build.properties file in the BuildAndDeploy workspace and re-run the schema install using the setupDB ANT task or the Refresh the sample schema link below.
|  |  |  | Refreshing the SRDemo Schema
|  | Refresh the sample schema
|  | The SRDemo schema is defined in a series of SQL scripts stored in the `SRDemoSampleADFBC/DatabaseSchema/scripts` directory. The schema will automatically be created when you install the application using the Update Center; however, for manual purposes, you can install or reinstall the schema in several ways: Click on the Refresh the sample schema link above or From the command line, run the SRDemoInstall.bat/.sh command line script from the `SRDemoSampleADFBC` root directory. or In JDeveloper, open the ANT build file build.xml in the BuildAndDeploy project and run the setupDB task. or From SQL*Plus, run the build.sql script when connected as a DBA such as SYSTEM. Any of the above methods will delete the old version of the schema and refresh the sample data.
|  | Removing the Sample
|  | Remove the sample from the IDE
|  | The SRDemo application code is installed into the JDeveloper home directory structure under `/jdev/samples`. To remove the application and extension JAR completely, perform the following steps: Click on the remove link above. This will remove the workspace, database connection and drop the sample user from the database. Exit JDeveloper Delete the `/samples/SRDemoSampleADFBC` directory from disk. Delete the extension JAR file `oracle.jdeveloper.srdemo.bc.10.1.3.*.jar` from the `jdev/extensions` directory.
|  |  | Got a question about using JDeveloper? Use the JDeveloper OTN Forum to get an answer. |
| JDeveloper News | Articles | How To's | Books & Training | Contact Us |

Copyright © 2006, Oracle. All Rights Reserved