You are on page 1of 17

Oracle Application Framework

7/12/2014 1
Outline
Introduction to OA Framework
Definitions
General Principles
MVC Architecture
Understanding the basics of Model
View Objects
View Links
Entity Objects
Entity Experts
Validation AM
Validation VO
Understanding the basics of View
Understanding the basics of Controller
Jdeveloper Structure and configuration in your desktop
Fundamental OA Framework UI Objects
CheckBoxes
Pop Lists
Simple List of Values
Exception Handling
Advanced Tables
Partial Page Refresh
Dialog Pages
Passive Criteria List of Values


7/12/2014 2
Outline
Implementing Server Side Features
Calling PL/SQL procedures and functions
Error Handling
Debugging OA Framework Applications
Debugging OA Framework Applications using Jdeveloper
Logging Infrastructure in OA Framework
Finding out the right version of Jdeveloper IDE
List of OAF Files Generated and their importance
Directory Structure of Application Server
Deploying OA Framework Applications
OA Framework Personalization Concepts
Personalization
Extension
Substitution
SPEL
JDR(Table/Packages)
7/12/2014 3
Overview

Oracle Application Framework(OA Framework) is a proprietary framework
developed by Oracle Corporation for application development within the
Oracle E-Business Suite.
Available to customers for personalization, customizations and custom-
application development.
The OA Framework is a Model-view-controller (MVC) framework built using
J2EE (Java 2 Platform, Enterprise Edition)technologies.

Historical Perspective

Very first HTML screen in oracle apps was created using PLSQL code, using PL/SQL
toolkit.
AK Developer, repository for storing structure and definition of the WebPages.
Current Technology OAF with MDS
7/12/2014 4
OA Framework is based on JSP technology,
which executes in a servlet engine. When the
browser issues an OA.jsp request for one of
the Self-Service pages, page processing takes
place within a servlet engine which, in turn,
can access the application data as well as user
interface metadata from the database.
7/12/2014 5
Overview (Cont)
Browser Support
Firefox
IE
Session
ICX:Session Timeout
ICX:Limit Time

7/12/2014 6
Overview(Cont)
User selects a responsibility
and a function
MDS Tables(JDR_*)
XML representation cached
in memory
Web Bean hierarchy is
instantiated, top level bean
is pageLayoutBean and
then for each component
of the page there is a web-
bean
7/12/2014 7
OA Framework Features
Advantages
Enterprise-Grade Performance and Scalability
Improved End User Productivity
Highly extensible architecture
Browser Look and Feel (BLAF terminology) for
all applications
Open industry Standards such as XML, HTML,
Java, JSP, SQL and Web Services.
7/12/2014 8
OA Framework Architecture
OA Framework architecture is based on
Model-View-Controller (MVC)design pattern.
7/12/2014 9

7/12/2014 10
Components of MVC Architecture
Model:
Data
Implemented using Oracle Business Components for Java (BC4J).
1.EO (Entity Object)
2.VO (View Object)
3.AM (Application Module)
AM is a container for EO, VO, viewLink and entityAssociation.
AM retention
Get request not retained by default
Multipage transactions have same rootAM, Use retainAM=Y
Post request by default, it is retained
Originally Bc4j was named jbo(Java Business Objects)
View:
User Interface.
Implemented using an Oracle technology called UIX. (UIX = User Interface
XML).
Controller:
Code
User actions are handled by the OA Controller. (Ex: Clicking SUBMIT button)
7/12/2014 11
Components of MVC
Architecture(Cont)
7/12/2014 12

Interaction between model, view and controller


7/12/2014 13
Entity Object (EO)

Entity Object is based on database table or
other data source.
Entity Object contains attributes which
represent database columns.
All insert/update/delete (DML Operations)
transactions go through EO to database.

7/12/2014 14

View Object (VO)

Two types
1. SQL based
2. EO based
Represents a query result.
Is used for joining, filtering, projecting, and
sorting your business data.
Can be based on any number of entity objects
(EOs) and provides access to EOs.
7/12/2014 15
View Links
View link defines a relationship between two
view objects that BC4J uses to automatically
query and coordinate the destination view object
based on the current source view object.
View links can be based on an association or a
declarative join relationship between two view
objects.
For example, suppose two tables have a master-detail
relationship based on a foreign key. The corresponding entity
objects are related via an association, and view objects based
on those entity objects can be related by a view link based on
the association.
7/12/2014 16

Application Module (AM)


Container for VOs.
Every page must have a root application
module.
Handles transactions.

7/12/2014 17

You might also like