Sei sulla pagina 1di 4

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

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.

OAF --> MVC (Model, View, Controller)


View (Browser-User) --> Controller (Java) --> Model (Business Logic) --> Process
V
C
M
M --> Business Logic
--> AM (Application Module- BC4J Components - Business Components for Java)
--> View Object (SQL Query, EO)
--> Entity Object (DB Table)
--> View Link
V --> PG/RN (OAF Page/OAF Region)
C --> POJO (Simple Java File)
View Obgect (VO)
Two types
1. SQL based
2. EQ 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.
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 EQ to database.
Ex:
When user clicks on a button1 on OAF page, some action should be performed and some
listener should be present for this. Controller is the listener here which says button1 is
clicked and this method1 should be executed. Method1 in Model will be called.

JDeveloper creates a workspace first then creates Project then our OAF part comes.
Configuring JDeveloper:
1. Get the appropriate Patch based on Oracle Apps version
2. set the Environment variable
3. DBC File --> Database connection to your database from jdeveloper (this file will have
oracle apps database tns entry details. This should be provided by the Oracle apps DBA.
(place the dbc file in \jdevhome\jdev\dbc_files\secure)
Once Patch is downloaded and extracted it looks like below:

jdevbin - will have all necessary jars, executables that are required to run jdeveloper
jdevdoc - contains all documentation for a given class file what all methods, package
structure available etc.
jdevhome - source code, generated class files, jsp, html, images
Environment variable set:
Set to jdevhome/jdev

Potrebbero piacerti anche