You are on page 1of 24

OA Framework Basics

3rd April, 2009 Parag Narkhede, Blink Consulting Pvt Ltd
India OAUG Webinar Series

Blink Consulting Private Limited
Blink Consulting is a dynamic and fast growing software consultancy providing Business Information Systems solutions, Business Intelligence Solutions and Application Maintenance Outsourcing to Customers in diverse industries Our Core Services consist of Strategy, Business Architecture, Solution Delivery, Operate and Oracle eBusiness Consulting Contact Information
INDIA – PUNE Blink Consulting India Pvt. Ltd., S. Number 131, Mumbai – Pune Highway Pune, Maharashtra, INDIA +91 20 30637200 USA – BOSTON Blink Consulting Inc. 945 Concord Street Framingham, MA 01701 USA +1-917-873-9763 USA – DALLAS Blink Consulting Inc. 1400 Preston Rd, Suite # 400 Plano, TX 75093 USA +1-972-665-9943

Agenda What is OA Framework? Why OA Framework? OA Framework Architecture MVC Architecture and its components Profile Options Which version of JDeveloper? JDeveloper Structure Development of Search page Summary Q&A 3 .

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

HTML. JSP. 5 . Java.Why OA Framework? 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. SQL and Web Services.

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

EO (Entity Object) 2. VO (View Object) 3. Controller: Code User actions are handled by the OA Controller. AM (Application Module) View: User Interface. (Ex: Clicking SUBMIT button) 7 . Implemented using an Oracle technology called UIX. 1. (UIX = User Interface XML).Components of MVC Architecture Model: Data Implemented using Oracle Business Components for Java (BC4J).

view and controller HTML Page HTTP Response Controller Class View HTTP Request Controller AM Model VO EO *AM-Application Module *VO-View Object *EO-Entity Object Data base 8 .Interaction between model.

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

10 . EO based Represents a query result. SQL based 2. Is used for joining.View Object (VO) Two types 1. projecting. Can be based on any number of entity objects (EOs) and provides access to EOs. filtering. and sorting your business data.

11 . Every page must have a root application module. Handles transactions.Application Module (AM) Container for VOs.

View in MVC Architecture 12 .

except AM. Contains methods such as 1. Model objects like EO and VO can't be accessed directly from the Controller Class.Controller (CO) in MVC Architecture Responds to user actions and directs application flow. ProcessRequest: Fires when OAF page loads for the first time. ProcessFormRequest: Fires when user submits the page. (Ex: clicking SUBMIT button) 13 . 2.

Controller Class (CO) (Cont.) 14 .

MVC Architecture 15 .

16 . like an onion. Each layer only “knows” about the layers below it.Onion Architecture of OA Framework OA Framework can be extracted into a series of concentric layers.

Refer to Metalink document id 275876. FND: Diagnostics Renders the "About this page" link at the bottom of every OA Framework page.1 for more profile options. 17 .Profile Options FND: Personalization Region Link Enabled Enables the "Personalize Region" links on a page if the Personalize Self-Service Definition.

10 Runtime Patch Level ARU ATG.5.5.CU2 (4125550) 11i.H RUP3 (patch 4334965) 11i.H RUP5 (patch 5473858) 11i. 18 .RUP6 (patch 5903765) Corresponding JDeveloper 4045639 4141787 4573517 4725670 5455514 6012619 6739235 Refer to Metalink document id 275846.PF.H RUP4 (patch 4676589) 11i. must use the specific build of JDeveloper that corresponds to their runtime environment.H (3438354) ATG CU1 (4017300) ATG.ATG_PF.Which version of JDeveloper? Developer.ATG_PF. Following table illustrates which JDeveloper ARU corresponds to the runtime patch set installed in your 11.ATG_PF.H.10 environment: 11.ATG_PF.1 for more details.

schema.server VO AM <CUSTOM_TOP>< APPL_TOP_NAME >.webui PG 19 Level: 2 Level: 3 .oracle.JDeveloper Structure Level :1 OAWorkspace.<APPL_TOP_NAME>.< APPL_TOP_NAME >.apps. <CUSTOM_TOP>. .jws OAProject1.jpr OAProject2.jpr .server EO1 EO2 <CUSTOM_TOP>.

JDeveloper Structure (Cont.) 20 .

Development of sample search page 21 .

Model Consists of AM. Profile options.VO. 3-Tier and Onion architecture of OA Framework. Controller is Java class implementation which handles user actions and responds to them. Development of search page. View is user interface which renders as HTML page.Summary What is OA Framework and Why OA Framework? MVC Architecture and its Components (Model-ViewController). JDeveloper version and its structure.EO. 22 .

Q&A 23 .

Thank You E-mail: 24 .