Oracle Application Framework

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 8

Page | 1

Oracle Application Framework


Oracle Application Framework (OA Framework) is a proprietary framework developed by Oracle Corporation for application development within the Oracle E-Business Suite. Available for customers to personalization, customizations and custom-application development. OAF is the Oracle Applications development and deployment platform for HTML-based business applications UIs/Forms for iProcurement, iSupplier, iExpense etc 100% Java & XML based OA Framework is J2EE based and features several industry standards such as XML, HTML, Java, JSP, SQL and Web Services Oracle 9i JDeveloper For OA extension Design-time extension to Oracle9i JDeveloper is called Oracle Applications Extension (OA Extension) The OA Framework is a Model-view-controller (MVC) framework built using J2EE (Java 2 Platform, Enterprise Edition) technologies. 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. Personalizable Versions First released in 11.5.7 Became extensible Characteristics: Declarative and Rapid application development Consistent and Compelling UI Built-in durable Personalization Extensible UI and business logic J2EE based, Java and XML Based on MVC architecture

MVC Architecture:

Page | 2

OA Framework architecture:

OA Framework architecture is based on Model-View-Controller (MVC) design pattern.

Page | 3

Model:

Data Implemented using Oracle Business Components for Java (BC4J). 1. EO (Entity Object) 2. VO (View Object) 3. AM (Application Module)

View:

User Interface. Implemented using an Oracle technology called UIX. (UIX = User Interface XML). Code User actions are handled by the OA Controller. (Ex: Clicking SUBMIT button)

Controller:

View in OAF

Page | 4

MODEL IN OAF:

CONTROLLER IN OAF:

Page | 5

OAF PAGE

OAF LAYERS:

Page | 6

Entity Object (EO)


Data interface, not Application interface Encapsulates business rules Each table can have at most one entity object EO instance is associated with a row from the database table Handles transactional details Automatically implements DML operations Resides in <company>.oracle.apps.<cust_top>.xxx.schema.server package

View Object (VO)


Application interface, not data interface Encapsulates database queries Provides access to EOs Two types SQL based EO based Resides in <company>.oracle.apps.<cust_top>.xxx.server package

Application Module

(AM)

Application Module is container for VOs Establishes the transaction context for the related UI pages Every page must have a root application module Oracle.apps.fnd.framework.server.OAApplicationModule Resides in <company>.oracle.apps.<cust_top>.xxx.server pacakge JDEV Structure:

Page | 7

Welcome to the first Audio-Video tutorial in this series. Objective:- To create a working page in OA Framework, without writing a single line of code in java. Step1- Create a table and insert sample data [3 records] for this demo. Run script xxoafdemo.sql from this link and create an OA Workspace and an OA Project.

XXOAF dem o.sql

Page | 8

The above Step 1 will do the below:1. 2. 3. 4. Creates a table named xx_person_details to capture Person Details Create a API to help insert records in this table Inserts three records into table xx_person_details In jDeveloper, create an OA Workspace and default Project for this OA Framework tutorial

Step 2 Create the required BC4J and java packages for this OA Framework Screen This step will create xxPersonDetailsEO xxPersonDetailsVO xxPersonAM [ Entity Object ] [ View Object ] [ Application Module ]

Relation between view Object and AM, in effect creating an instance of the View Object. Name of this view Object instance will be xxPersonDetailsVO1

You might also like