Java Developer
ORACLE ADF BY FRANK NIMPHIUS
A Template with Behavior
Use the Oracle ADF Dynamic Tabs UI Shell template to build
rich internet applications.
ORACLE JDEVELOPER and ORACLE APPLICATION DEVELOPMENT FRAMEWORK
Partial page submit and instant page refresh via Ajax-enabled UI components
don’t, alone, guarantee a rich-client Web
experience. A consistent page layout and predictable page behavior are just as important
to application usability. The Dynamic Tabs
UI Shell template in Oracle JDeveloper 11 g
helps developers give their Oracle Application
Development Framework (Oracle ADF) application pages a consistent look that meets
high standards for usability. The template
includes prewired behavior such as programmatic tab opening and closing, tab navigation, and tracking of the transaction state
for content displayed in a tab. Users gain a
rich-client experience because the locations
and behaviors of the application’s prominent
features are consistent and predictable.
This column provides an overview of the
Dynamic Tabs UI Shell template and illustrates its key concepts through a sample
application. Although the sample application doesn’t implement all of the template’s
public APIs, it gives you a starting point
for exploring how and when to use it. The
column then delves deeply into the template’s architecture to describe its full functionality and help inform your Oracle ADF
programming practices.
To begin, download the sample application at bit.ly/yvE8ZD and unzip the file to a
local folder on your computer. Ensure that
you’re using the studio edition of Oracle
JDeveloper 11 g Release 2 ( 11. 1. 2. 1) or later,
available as a free download on Oracle
Technology Network.
A ReadMe.doc file with setup instruc-
tions for the adf_summit database schema
used in the sample is located in the
dynamic TabShellSample/Schema folder in
the directory where you unzipped the sample
application. After installing the adf_summit
schema, open the SummitADFUIShell.jws
workspace, located in the application
directory’s dynamic TabShellSample/
SummitADFUIShell folder in Oracle
JDeveloper. Adjust the properties of the
connection named summit_adf in the
Application Resources zone of the Application
Navigator until you can successfully test a
connection to the summit_adf database
schema, using summit_adf as both the
username and the password.
SAMPLE APPLICATION OVERVIE W
The sample application manages customer
and order information for a fictional seller
of wholesale sporting goods. The applica-
Figure 1: Sample application start screen
Figure 2: Customer Care Center view
ORACLE MAGAZINE MARCH/APRIL 2012