You are on page 1of 23

OAFramework Material

What is OAF? It is a Kind Of Platform to Design the web based Application In Generally We have Three Applications Available in the Market Form Based or Desktop Applications Web Based Applications Mobile Kind Of Applications What is the Diff. Between Form Based And Web Based Applications Form Based These Applications not worked under the Network like LAN,WAN independently. To Publish These Applications in the Network Should Be Required Environmental Support Like jinitiator Access Time(Form Loading Time) is More Limited API Support Look and Feel is Less More Platform Dependent Features Not Much Powerful Support For OOP Standards For Example: From Oracle Side : D2k Form Java Side : core java Concepts(J2SE) From Microsoft Side : VB.net Web Based These Applications work Under Network like LAN,WAN To Publish These Applications in the Network We Doesnt Required Any Environmental Support Access Time(Form Loading Time) is Less Powerful API Support Look and Feel is More More Platform Independent Features Powerful Support for OOP Standards For Example: From Oracle Side : OAF,ADF Form Java Side : Advanced Java Concepts(J2EE) Ex: servlets , jdbc,jsp etc From Microsoft Side : ASP.net

Now Just Look At the Diff in Between Desktop and Web Based Applications Best Support Features Available in the Web Based Application By Introducing Some Products or Technologies to Achieve the Web Based Applications in to oracle apps EBS Purpose AK Framework JIT/JTF Framework OA Framework ADF In The Above Front End UI Tools Up To 11.5.10.2 UpTo R12 Fusion D2K OAF MVC Architecture D2k is the Leading Product OAF is the Leading Product ADF ADF MVC Architecture

Desktop support

Web Based Support

Web Based Support

Form Builder

JDeveloper

JDeveloper

Pl/sql Features Drag and Drop Options

Java + Features No Drag and Drop Options

Java ++ Features Drag and Drop Options

We Need to Learn OAF , We Should be Required SQL AOL Bit Of Java

Roles and Responsibilities Of OAF Consultants

Development of New OAF Pages For example Creating pages Items\ Pick list and Lov Items Building Controllers Building Required Model Components Customization of Existing Seeded Pages Personalization of Pages Extensions of Pages VO Extensions CO Extensions EO Extensions AM Extensions.

JDEVELOPER INTRODUCTION

JDeveloper is a freeware IDE supplied by Oracle Corporation. \ It offers features for development in Java, XML, SQL and PL/SQL, HTML, JavaScript, BPEL and PHP. JDeveloper covers the full development lifecycle from design through coding, debugging, optimization and profiling to deploying.

With JDeveloper, Oracle has aimed to simplify application development by focusing on providing a visual and declarative approach to application development in addition to building an advanced coding-environment. Oracle JDeveloper integrates with the Oracle Application Development Framework (Oracle ADF,OAF) - an end-to-end Java EE-based framework that further simplifies application development. The core IDE exposes an API that other teams in Oracle use to build extensions to JDeveloper. BPEL, Portal, BI and other components of the Oracle platform[which?] all build their design-time tools on top of JDeveloper. Environmental Setups Required To Jdeveloper in the OAF:

   

Identify and DownLoad The Patch Extract The Patch Set The DBC File Properly Set Two Environmental Variables Variable_ name : JDEV_USER_HOME Variable_ Value : DriveName/FolderName/JdevHome/jdev  Take the Shortcut of Jdevw.exe  Identify and DownLoad The Patch

Identify and DownLoad The Patch

Extract The Patch

Set The DBC File Properly

Copy the Dbc File

Paste in the

10

Set Two Environmental Variables

11

12

Take the Shortcut of Jdevw.exe

13

Oracle Application Framework


Oracle Applications Framework is also referred to as OA Framework. This is a framework that excels at creating 3-tier web-based applications that link to an 11i Oracle Applications instance while maintaining all the security features of that 11i instance. OAF is a model-view-controller technology stack that is fully oriented towards E-BS application development. The OAF stack is comprised of underlying technologies like UIX and BC4J that respectively form the core of the view and model layers. It includes Application Object Library (AOL) that provides common E-BS artifacts such as menus, functions, messages, profiles, flexfields and attachments, etc.

An important significance of the OA framework model is that it facilitates the customization of existing out of box i modules as well as allows development of new Self Service Web Application modules. As a result, the OA Framework provides benefits of productivity, scalability, and customizability. OA Framework Architecture is based on the J2EE MVC design pattern. The MVC architecture is a component-based design pattern with clean interfaces between the Model, View, and Controller. The Model is where the application implements its business logic. The View is where the application implements its user interface and the Controller is where the application handles user interaction and directs business flow. Though the OA Framework is J2EE based, it also uses various industry standards like HTML, XML, Java, JSP, SQL and Web Services.

14

OAF Architecture

OAF Key Features


Standards Compliance Oracle Applications development and deployment platform for HTML-based applications 100% Java & XML J2EE based, middle-tier application framework and services provide for rapid development & deployment y y Built on Fusion Middleware Built on Oracle platform

y y

Declarative Environment y y y y Rapid application development environment Consistent & compelling UI Built-in durable personalization Extensible UI and business logic

Model-View-Controller Design y y y A component-based design with clean interfaces among model, view, and controller objects The controller responds to user actions and directs application flow The view formats and presents data from a model to the user

15

Model encapsulates data and business logic of the application

OAF Key Benefits


y y y y y y y Consistent and Compelling User Interface User Interface Interactivity Built-in Security Integrated Development Environment Mobile Support Functional Administration Tool Durable Personalization and Extensibility

HCL's Key Services


HCL provides configuration, personalization and extensibility as major service areas along with OAF. Configuration - provide setup and administrative choices using the native features of the product. Some configuration examples include: Profile Options User-defined fields (Flexfield) Function Security Setup Data Security Setup

y y y y

Personalization - declaratively tailor the UI look-and-feel, layout or visibility of page content to suit a business need or a user preference. Some personalization examples include: y y y Tailoring the order in which table columns are displayed Tailoring a query result Tailoring the color scheme of the UI

Extensibility - extending the functionality of an application beyond what can be done through personalization. Some extensibility examples include: y y y Adding new functional flows Extending or overriding existing business logic Using Oracle Jdeveloper

16

Note : Any Component in the OAF , In Generally called it as One Java Class

To Control the AOL Standards and performance of the applications by introducing the specific package Strure.

U Should be Follow Below Package Structures to place java classes in the OAF Package Structure Syntax <Third Party Identifier Name>.oracle.apps.po.<Any Applicatioon Short Name>.<ComponentName>.<subcomponent name>webui (or) server Total We can see 6 packages :  <Third Party Identifier Name>.oracle.apps.po.<Any Applicatioon Short Name>.<ComponentName>. Server  <Third Party Identifier Name>.oracle.apps.po.<Any Applicatioon Short Name>.<ComponentName>poplist, server

 <Third Party Identifier Name>.oracle.apps.po.<Any Applicatioon Short Name>.<ComponentName>.lov. server  <Third Party Identifier Name>.oracle.apps.po.<Any Applicatioon Short Name>.<ComponentName>.schema. server

 <Third Party Identifier Name>.oracle.apps.po.<Any Applicatioon Short Name>.<ComponentName>.webui  <Third Party Identifier Name>.oracle.apps.po.<Any Applicatioon Short Name>.<ComponentName>.lov.webui

17

Note : The Package Structure Should be Ends With Either webui or server in the OAF Which Are the Components inside of webui package Those are Called Client Components

Model-View-Controller Design y y y y A component-based design with clean interfaces among model, view, and controller objects The controller responds to user actions and directs application flow The view formats and presents data from a model to the user Model encapsulates data and business logic of the application

View Components in the OAF

Generally

The output of Class file is Called it as View in the OAF

The view formats and presents data from a model to the user

View Components are used by the users. View Components in the form of xml We should be place the view components under only webui packages in the OAF Examples For View Components in the OAF is Page Region Attribute Sets Page Generally we should be ends with the PG, For Ex: EmpPG EmpPG.xml

18

<Third Party Identifier>.oracle.apps.po.<Componentname>.webui

Region : Subpart of the page RN or RG SuppNumberRN.xml <Third Party Identifier>.oracle.apps.po.<Componentname>.lov.webui MODEL in the OAF :

Model is the interface between user and database in the OAF


Model encapsulates data and business logic of the application

If You Create Any Model Component U can Able To See Two Files In the OAF Xml and Java Files View Objects and View Links Entity Objects and Associations Application Module

View Objects and View Links In Generally Select Statement or Query Called it as View Object in the OAF and It is Java Class,By Using This We Can Retrive The Data From DB. We Can Build The View Object Class in two Ways o By Writing Directly Select Statements o Based On the Entity Objects Naming Convention For ViewObject in the OAF is VO For Example if u Write VO For Emp Data Naming Convention EmpVO Now u can see two files EmpVO.xml EmpVOImpl.java

19

OAF Gives u Standard that U Can build the ViewObject Class Below any Of the Package As per the OAF Standards Except poplist and lov we have to write vos below <Third Party Identifier Name>.oracle.apps.po.<Any Applicatioon Short Name>.<ComponentName>. Server For poplist purpose <Third Party Identifier Name>.oracle.apps.po.<Any Applicatioon Short Name>.<ComponentName>poplist, server For Lov purpose <Third Party Identifier Name>.oracle.apps.po.<Any Applicatioon Short Name>.<ComponentName>.lov. server

The Parent Class For All VOs is : OAViewObjctImpl

By Using ViewLinks We Can Join Two VOs Are More Than Two VOs

Note : In The OAF Once U Build The VO , U should be Shuffle to AM As per the Onion Structure

Entity Objects and Associations In Generally Database Table or View Called it as Entity Object in the OAF and It is Java Class,By Using This We can perform the DML Operations Like Insert,update,Delete

Naming Convention For EntityObject in the OAF is EO For Example if u Write EO For Emp Table Naming Convention EmpEO

20

Now u can see two files EmpEO.xml EmpEOImpl.java

OAF Gives u Standard that U Can build the EntityObject Class Below Package As per the OAF Standards  <Third Party Identifier Name>.oracle.apps.po.<Any Applicatioon Short Name>.<ComponentName>.schema. server

The Parent Class For All EOs is : OAEntityObjectImpl

By Using Associations We Can Join Two EOs Are More Than Two EOs Note : In The OAF Once U Build The EO , U should be Shuffle to VO As per the Onion Structure

ApplicationModule

Which is a JavaClass By using We Can able to Implement All the Bussiness Logic and Related Bc4j Objects .

Naming Convention For ApplicationModule in the OAF is AM For Example if u Write AM For Emp Bussiness Logic Naming Convention EmpAM

21

Now u can see two files EmpAM.xml EmpAM Impl.java

OAF Gives u Standard that U Can build the ApplicationModule Class Below Package As per the OAF Standards  <Third Party Identifier Name>.oracle.apps.po.<Any Applicatioon Short Name>.<ComponentName>. Server  <Third Party Identifier Name>.oracle.apps.po.<Any Applicatioon Short Name>.<ComponentName>.lov server

The Parent Class For All AMs is : OAAppolicationModuleImpl

Note : In The OAF Once U Build The AM is the Mandatory Class as per the Onion Structure With Out AM Class We Cant Run Any Page in the OAF

22

PopList Item Creation Steps in the OAF: Create the Item and set the item style as MessageChoice Prepre the VO Under poplist.server package. Set Below Properties to the Correpondent MessageChoiceBean Item. PickListView Definition PickList View Display Attribute Picklist Value Attribute

Note : You Need to default any thing in the Poplist item set intial value property

Lov Item Creation Steps in the OAF

23

You might also like