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 Doesn¶t 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

1

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

2

3 . JDEVELOPER INTRODUCTION JDeveloper is a freeware IDE supplied by Oracle Corporation. debugging.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. optimization and profiling to deploying. HTML. XML. JavaScript. \ It offers features for development in Java. SQL and PL/SQL. JDeveloper covers the full development lifecycle from design through coding. BPEL and PHP.

Portal. Oracle JDeveloper integrates with the Oracle Application Development Framework (Oracle ADF.exe  Identify and DownLoad The Patch 4 . BPEL. The core IDE exposes an API that other teams in Oracle use to build extensions to JDeveloper. BI and other components of the Oracle platform[which?] all build their design-time tools on top of 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. 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.an end-to-end Java EE-based framework that further simplifies application development.With JDeveloper.OAF) .

Identify and DownLoad The Patch  5 .

Extract The Patch 6 .

7 .

8 .

Set The DBC File Properly Copy the Dbc File 9 .

Paste in the 10 .

Set Two Environmental Variables 11 .

12 .

Take the Shortcut of Jdevw.exe 13 .

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. OA Framework Architecture is based on the J2EE MVC design pattern. It includes Application Object Library (AOL) that provides common E-BS artifacts such as menus. The OAF stack is comprised of underlying technologies like UIX and BC4J that respectively form the core of the view and model layers. JSP. SQL and Web Services. functions. View. XML. OAF is a model-view-controller technology stack that is fully oriented towards E-BS application development. The View is where the application implements its user interface and the Controller is where the application handles user interaction and directs business flow. messages. and customizability. The MVC architecture is a component-based design pattern with clean interfaces between the Model. and Controller. The Model is where the application implements its business logic. it also uses various industry standards like HTML. As a result. profiles. etc. the OA Framework provides benefits of productivity. flexfields and attachments. Though the OA Framework is J2EE based. Java. 14 . 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. scalability.Oracle Application Framework Oracle Applications Framework is also referred to as OA Framework.

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. 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 .OAF Architecture OAF Key Features Standards Compliance Oracle Applications development and deployment platform for HTML-based applications 100% Java & XML J2EE based. view.

layout or visibility of page content to suit a business need or a user preference. personalization and extensibility as major service areas along with OAF.y 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.extending the functionality of an application beyond what can be done through personalization. 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. Some extensibility examples include: y y y Adding new functional flows Extending or overriding existing business logic Using Oracle Jdeveloper 16 . Configuration . 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 .provide setup and administrative choices using the native features of the product.

apps.po. In Generally called it as One Java Class To Control the AOL Standards and performance of the applications by introducing the specific package Strure.webui 17 .<Any Applicatioon Short Name>.apps. Server  <Third Party Identifier Name>. server  <Third Party Identifier Name>.oracle.po. server  <Third Party Identifier Name>.<subcomponent name>webui (or) server Total We can see 6 packages :  <Third Party Identifier Name>.oracle.<ComponentName>.<ComponentName>.po. server  <Third Party Identifier Name>.oracle.<Any Applicatioon Short Name>.oracle.<ComponentName>.Note : Any Component in the OAF .lov.oracle.po.po.apps.apps.apps.apps.<ComponentName>.<Any Applicatioon Short Name>.schema. U Should be Follow Below Package Structures to place java classes in the OAF Package Structure Syntax <Third Party Identifier Name>.<ComponentName>.apps.oracle.po.<Any Applicatioon Short Name>.<ComponentName>poplist.<Any Applicatioon Short Name>.<ComponentName>.lov.<Any Applicatioon Short Name>.<Any Applicatioon Short Name>.po.oracle.webui  <Third Party Identifier Name>.

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. view. For Ex: EmpPG EmpPG.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. 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.xml 18 .

apps.xml EmpVOImpl.po. 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.webui Region : Subpart of the page RN or RG SuppNumberRN.xml <Third Party Identifier>.<Componentname>.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.oracle.po.apps.lov.oracle.<Componentname>.By Using This We Can Retrive The Data From DB.<Third Party Identifier>.java 19 .

Delete Naming Convention For EntityObject in the OAF is EO For Example if u Write EO For Emp Table Naming Convention EmpEO 20 .po.By Using This We can perform the DML Operations Like Insert.<Any Applicatioon Short Name>.apps.oracle.<ComponentName>.update.oracle.<Any Applicatioon Short Name>.<Any Applicatioon Short Name>.lov. server For Lov purpose <Third Party Identifier Name>.po.<ComponentName>. server The Parent Class For All VO´s is : OAViewObjctImpl By Using ViewLinks We Can Join Two VO¶s Are More Than Two VO¶s Note : In The OAF Once U Build The VO .apps. 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.<ComponentName>poplist.oracle.apps.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 vo¶s below <Third Party Identifier Name>.po. Server For poplist purpose <Third Party Identifier Name>.

Naming Convention For ApplicationModule in the OAF is AM For Example if u Write AM For Emp Bussiness Logic Naming Convention EmpAM 21 .java OAF Gives u Standard that U Can build the EntityObject Class Below Package As per the OAF Standards  <Third Party Identifier Name>.xml EmpEOImpl.schema.oracle.po.<Any Applicatioon Short Name>.<ComponentName>.Now u can see two files EmpEO. 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 . server The Parent Class For All EO´s is : OAEntityObjectImpl By Using Associations We Can Join Two EO¶s Are More Than Two EO¶s Note : In The OAF Once U Build The EO .apps.

oracle.<ComponentName>.po.<ComponentName>.lov server The Parent Class For All AM´s 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 Can¶t Run Any Page in the OAF 22 .po.Now u can see two files EmpAM.oracle.java OAF Gives u Standard that U Can build the ApplicationModule Class Below Package As per the OAF Standards  <Third Party Identifier Name>.apps.<Any Applicatioon Short Name>.<Any Applicatioon Short Name>.apps. Server  <Third Party Identifier Name>.xml EmpAM Impl.

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 . Set Below Properties to the Correpondent MessageChoiceBean Item.PopList Item Creation Steps in the OAF: Create the Item and set the item style as MessageChoice Prepre the VO Under poplist.server package.

Sign up to vote on this title
UsefulNot useful