ADF BC ProgrammaticVO Sample

The goal of this sample application is to demonstrate how to create and use an ADF Business Components programmatic view object.

Requirements

You must have JDeveloper 10g and access to an Oracle database with the Oracle common schema installed on it. If you do not have the common schemas installed, follow these instructions. This sample depends on the hr_conn connection as defined in those instructions.

Running the sample

To run the sample right-click on the Model project and select Run from the context menu.

How was this sample created?

The Model project was created using the simple ADF Business Components wizards available in the new gallery.

Key points in this sample

Creating a programmatic view object can enable you to gain control over interaction with the business logic tier beyond what is automatically provided by other client architectures.

Look closely at the CountryCodesView view object, and CountryCodesViewImpl.java, especially lines 58-112 for examples of how to take advantage of a programmatic view object.