Académique Documents
Professionnel Documents
Culture Documents
Java Concepts
Class/Interface
Package
Member Variables
Member Functions
Access Specifiers
Inheritance
Overloading/Overriding
Model-View-Controller (MVC)
Architecture
A component-based design with clean interfaces
among model, view, and controller objects
The controller responds to
user actions and directs
Controller
application flow
Model
View
Keywords
Flexible Architecture
UIX
OA Controller
Controller OA Controller
responds to user actions,
directs application flow
BC4J
Technology Stack
Browser
Web Server
Data Server
Oracle9iAS
HTTP Server and J2EE Container
Apache
OC4J
UI
Meta Data
Repository
Common Services
Portal
SSO
LDAP
BC4J:
UIX:
XML & Java
XML & Java
for data model &
for user interface
Business Logic
OA Controller:
Java for flow and action events
Applications
Schema
Encapsulation: Layered
Reusability
OA
Controllers
Application
Modules
View
Objects
Entity
Objects
DB
DML
Validations
Defaulting
.XML
Database
Tables,Views
PL/SQL
Application Module
(AM)
ide
S
w
Vie
UIX
Bean Hierarchy
View - Components
OA Framework Design time
OA Framework Runtime
Page Hierarchy
UIX
Bean Hierarchy
JSP/HTML
Browser
Cache
Meta Data
UIX
Renderers
.XML
View: OA Framework-Based
Page
Submit button
Bean
Results table
Bean
Controller: Controlling UI
Behavior
Controller classes define how your Java Beans behave.
You can override controller classes to:
Manipulate the UI at runtime
Manually initialize data items
Intercept and handle user events like button clicks
Controller classes subclass OAControllerImpl.
OAPageBean is the main OA Framework page
processing class.
There are methods in the Controller class to handle GET
and POST requests.
User name
Id
Current responsibility
and so on
Middle Tier
Client Side
Server Side
OAPageContext
OADBTransaction
Find AM
Invoke Method
AM finds VO
webui
server
Server Tier
Setting Up JDeveloper
OA Framework/JDeveloper patch to use
About this page link >Technology Components Tab> OA Framework
https://metalink.oracle.com/metalink/plsql/showdoc?
db=NOT&id=416708.1
DBC File
About this page link >Page Context Tab> Database
RESP_KEY
FND_RESPONSIBILITIES
FND_APPLICATIONS
Login Credentials
UserName/Password
Please use the user who has the responsibility assigned to him.
Directory Structure
Packages
oracle.apps.fnd.multiorg.lov.server
oracle.apps.fnd.multiorg.server
oracle.apps.po.document
oracle.apps.po.document.agreement.server
oracle.apps.po.document.agreement.webui
oracle.apps.po.document.order.webui
oracle.apps.po.document.server
oracle.apps.po.lov.webui
oracle.apps.po.poplist
oracle.apps.po.poplist.server
oracle.apps.po.schema.server
BC4J Components
Entity Objects
The Object should have EO at the end. For e.g PoHeadersEO.
View Objects
The Object should have VO at the end. For e.g PoLinesVO.
Associations
The Object should have AO at the end. For e.g
PoHeadersToLinesAO.
View Links
The Object should have VL at the end. For e.g
PoHeadersToLinesVL
Application Module
The Object should have AM at the end. For e.g PurchasingAM
Package Naming
XML file or a sub-directory signify a single functional unit (subcomponent) of the application
Sub-directory package name should clearly indicate the name
of the sub-component and be in lowercase letters.
Example:
oracle/apps/per/selfservice/emppersonalinfo/webui
XML file package name should clearly indicate the name of
the sub-component and follow the Java class name
standards.
Example:
oracle/apps/per/selfservice/webui/PerEmpPersInfo.xml
Page Naming
Region Naming
The top page region (pageLayout style) should
always be named PageLayoutRN
Region name (both embedded and XML filename)
should take the form takes the form
ObjectFunctional-structureRN and should follow
the Java class name standard.
Object examples: employee, contact
Examples: EmployeeRN, EmpMasterRN,
EmpContactsDetailRN, EmpSearchRN,
EmpTableRN
XML Components
$PRODUCT_TOP/mds/<package structure>
Java Components
$JAVA_TOP/<package structure>
BC4J Components
XML Components
$JAVA_TOP/<package structure>
Java Components
$JAVA_TOP/<package structure>
XML files are in ASCII format and can be read.
Java files are compiled in to class files and need to be
decompiled to be read.
Custom Controllers
Resources
Further reading:
OA Framework Developer's Guide:
Anatomy of an OA Framework Page
OA Framework Javadoc