Adfsession
Adfsession
Adfsession
Oracle ADF – High Level Architecture Oracle ADF Components for Fusion
MVC – Model View Controller Apps and what they do
• ADF Faces Rich Client Components
• UI components with built-in Ajax support
View
• ADF Controller
• Declarative definition of Web-pages and task flows
Controller • ADF Model
• Declarative way to bind UI to business services
• ADF Business Components
Model
• Reusable components to manage DB access and logic
Business Services
Business Service Goals ADF Business Components
An introduction to the
Controller
ADF Controller
ADF Faces
Database
components Data
Binding
Database
Schema
Schema Demonstration: Building
SDO Services a Fusion Application in 5
Events
minutes!
Human Workflow Mediator /BPEL Rules
Business
Service Process facts Engine
Activity Assign
Task
Monitoring
Task
results
Complete
• Entity objects
• View objects Introduction to ADF
• Application modules Business Components
• Model driven list of values
• Validation
<Insert Picture Here> • Represent a query that shapes data for an application
specific purpose
Managing View Objects • Join, filter, and sort business data
• Enables you to have an application specific view of
data
• Constructed from SQL statement, static values or
populated programmatically
• Can be based on any number of entity objects
• Facilitates lookup
Conditional queries with named bind Creating and Managing View Objects
variables AllCustomersVO
CustId CustFirstName CustLastName NLS Territory Account Manager
CustomersEO
CustId CustFirstName CustLastName NLS Territory Account Manager
105
CustFirstName
Matthias
CustLastName
MacGraw
FirstName
Cambrault
• Link related view objects
104 Harrison Sutherland Cambrault • Define a source attribute and destination attribute
103 Manisha Taylor Kocher
• Define a list of values for a view object attribute • Named filter criteria
• Choice list • Augments the where clause of the target view object
• Combo box
• Can be displayed as query panel
• Combo box with list of values
• Can include bind variables
• Input text with list of values
• List box
• Radio group
• Correct UI components defaulted
Demonstration: Refining
your business services
Adding Validation
Summary
<Insert Picture Here> • Entity objects act as data cache <Insert Picture Here>
• ADF Faces Components <Insert Picture Here> • 150+ AJAX enabled JavaServer Faces components
• More components • Dialog and popup framework
• Better components
• Drag-and-drop framework
• Templating • Navigation menu framework
• ADF Task Flow • Partial page rendering
• Extended JSF controller
• Active data framework
• Page fragments
• Advanced data streaming – push to client
• Page regions
• Complete JavaScript API
• Reusable flows
• Templating
• Skinning
A Demonstration: Building
Menu Regions
Named Facets
a Page Template
B
News Portlet
Layout Components
ADF Faces Data Visualization - Graphs ADF Faces Data Visualization - Gauges
<Insert Picture Here> • An extension to the JSF standard page flow engine
that adds:
ADF Controller • Page and flows re-use
• Executing code in a flow (hence task flow not page
flow)
• Security
• Flow control
• Exception and transaction management
• Declarative back button control
ADF Controller Task Flows ADF Bounded Task Flow : Trains
Summary
<Insert Picture Here> • ADF Faces provides a rich set up UI <Insert Picture Here>
components
Demonstration: Building • Layout components
Task Flows • Input components
• Data visualization graphs
• ADF Model provides abstraction of binding
• ADF Controller
• Extends JSF controller
• Reuse of application flows
How Do You Prefer to Learn?
Online resources/tutorials/videos
Events/User Groups/Community
• http://www.connotea.org/user/jdeveloper/ ADF Insider Essentials Tasks
Q U E S T I O N S
&
ANSWERS