Oracle Application Framework
-
Upload
arungitammca768 -
Category
Documents
-
view
22 -
download
1
description
Transcript of Oracle Application Framework
![Page 1: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/1.jpg)
Oracle Application Framework
04/28/23 1
![Page 2: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/2.jpg)
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
04/28/23 2
![Page 3: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/3.jpg)
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)
04/28/23 3
![Page 4: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/4.jpg)
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
04/28/23 4
![Page 5: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/5.jpg)
• 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.
04/28/23 5
![Page 6: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/6.jpg)
Overview (Cont)
• Browser Support– Firefox– IE
• Session – ICX:Session Timeout– ICX:Limit Time
04/28/23 6
![Page 7: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/7.jpg)
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
04/28/23 7
![Page 8: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/8.jpg)
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. 04/28/23 8
![Page 9: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/9.jpg)
OA Framework Architecture
• OA Framework architecture is based on Model-View-Controller (MVC)design pattern.
04/28/23 9
![Page 10: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/10.jpg)
04/28/23 10
![Page 11: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/11.jpg)
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)
04/28/23 11
![Page 12: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/12.jpg)
Components of MVC Architecture(Cont)
04/28/23 12
![Page 13: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/13.jpg)
Interaction between model, view and controller
04/28/23 13
![Page 14: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/14.jpg)
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.
04/28/23 14
![Page 15: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/15.jpg)
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.
04/28/23 15
![Page 16: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/16.jpg)
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.
04/28/23 16
![Page 17: Oracle Application Framework](https://reader034.fdocuments.in/reader034/viewer/2022042721/577cc73c1a28aba711a06103/html5/thumbnails/17.jpg)
Application Module (AM)
• Container for VOs.• Every page must have a root application
module.• Handles transactions.
04/28/23 17