Professional Documents
Culture Documents
Suneeta Kowtharapu*
* Collated from PPT of Andreas Stellatos, Anthony Go, Jody Clayton, George Kellner, Helen Moses
Agenda
Introduction
Pre-Req Concepts
Architecture Overview
Physiology of an Application
Components
JDeveloper Demo
Files & Directory Structure
Menus & Functions
New Features in OAF 11.5.10
Help
Agenda
Introduction
Pre-Req Concepts
Architecture Overview
Physiology of an Application
Components
JDeveloper Demo
Files & Directory Structure
Menus & Functions
New Features in OAF 11.5.10
Help
Definition
• Get
• User clicks on a link/image associated with an URL
• Parameters are sent as part of the URL
• Max size of the URL is restricted to 256 chars
• Post
• User clicks on a link that does a form Submit
• Parameters sent are not visible on the URL
• Any amount of data can be sent
Agenda
Introduction
Pre-Req Concepts
Architecture Overview
Physiology of an Application
Components
JDeveloper Demo
Files & Directory Structure
Menus & Functions
New Features in OAF 11.5.10
Help
Architecture - Oracle Form
Splitting UI from Business Information
Architecture Overview
Declarative, MVC architecture
Browser
Cache
DML
Validations Application Module
Defaulting (AM)
.XML
Database
Tables,Views
PL/SQL
Page Hierarchy & Model
Page Root AM
Region/Header AM
MDS
Items BC4J References
Model: Application Modules
• View Objects
• Encapsulate a database query
• Provide iteration over the query result set
• Can be based on
• Plain SQL
• Multiple entity objects
• Provide single point of contact for getting and setting entity
object values
• May be linked together by view links
Model: Entity Objects
Entity objects
• Encapsulate business rules and logic
• Are used by any program that inserts, updates, or
deletes data
• Provide consistent data validation across all
applications
• May be linked to other entity objects by entity
association objects
Event Flow in OA Framework
1. Validate user
2. Retrieve AM and bean hierarchy if saved
3. Walk UIX tree and call processFormData() on controllers
• Apply form data back to underlying objects
4. Walk UIX tree and call processFormRequest() on controllers
5. If no redirect then refresh the page
HTTP Post Event Flow
Validate User and Retrieve State
• Validate the user as in GET
• Retrieve AM and cached copy of bean hierarchy
• If not available or out of synch go through
processRequest logic again to recreate bean hierarchy
• Validate session and function as in GET
• Call ProcessFormRequest() on controller.
Model : Code
Java
Servlet Engine
Web Listener UI
Controller
Meta Data UI
Programmatic
Browser UI Definition Definition Meta Data
Repository
UIX
HTML UI Generator
BC4J Applications
AOL/J
Application Schema
Menus,Security,
Business
Messages, etc
Logic
$JAVA_TOP/oracle/apps/ar
webui server
<name>EO.xml server
server webui
<name>CO.class
<name>VO.xml
<name>AM.xml
<name>EOImpl.class
<name>VOImpl.class
<name>VORowImpl.class
<name>AMImpl.class
Dir Structure : PROD_TOP
$AR_TOP/mds
• ARCMANALYSISVIEWACCTDPAGE.xml would be in
$AR_TOP/mds directory.
How to find the relevant code
• ARCMANALYSISVIEWACCTDPAGE.xml
<content>
<oa:pageLayout id="ARCMANALYSISVIEWACCTDPAGE"
akRegionCode="ARCMANALYSISVIEWACCTDPAGE"
regionName="AR CM Analaysis View Account Detail Page"
amDefName="oracle.apps.ar.creditmgt.analysis.server.
CreditAnalysisAM"
controllerClass="oracle.apps.ar.creditmgt.analysis.webui.ArCmA
nalysisAcctDetailPageCO" windowTitle="Oracle Credit
Management" helpTarget="cf_crdata">
Agenda
Introduction
Pre-Req Concepts
Architecture Overview
Physiology of an Application
Components
Files & Directory Structure
Menus & Functions
New Features in OAF 11.5.10
Help
Menus in OAF
• Navigation menus
• Controls how a user moves from one page to another
• Use with responsibilities
• Use Functions form and Menus form
Register Functions
• http://www-
apps.us.oracle.com/servlet/uix/fwk/fwksite/releases
• oactech_us@oracle.com
Summary