OAF:
 Oracle application frame work is a proprietaryframework. Theframework is also available to customers for personalization,
customizationandcustomapplication development.
 The oaf is a model viewcontroller frameworkbuilt usingjava ee technologies.
Set the environment variables:
My computer-> advanced-> environment variables -> new.
Variable name: jdev_user_home
Variable value: C:Jdeveloperp21662342_R12_GENERICjdevhomejdevsuriya
The packages, which are usedin the OA Frame Work Applications:
There are six package usedin the OA FrameWorkApplications.
1) <3rdpartyidentifier> .oracle.apps...[] .webui
2) <3rdpartyidentifier> .oracle.apps...[] lov.webui
3) <3rdpartyidentifier> .oracle.apps...[] .server
4) <3rdpartyidentifier> .oracle.apps...[] lov.server
5) <3rdpartyidentifier> .oracle.apps...[] poplist.server
6) <3rdpartyidentifier> .oracle.apps...[] Schema.server
Steps to develop theapplication:
E.g. hello page
1. Create the workspace.
2. Create the project.
3. Create the package.
4. Create the application module.
5. Create the page.
6. Set the properties ofthe page.
Am definition
Windowtitle
Title
1. Create the workspace:
Workspace -> right click-> newworkspace
Directory name:
File name:
Select add a new oa project
2. Create the project:
Directoryname:
Project name:
Package name:
Next
Use responsibilityfordesign time
Supply the name ofconnection: test
New -> create the connection
Edit -> change the connection
Next
Dbc file name:
User name:
Password:
Applicationshort name:
Responsibility key:
Next – finish
3. Create the package:
Right click on .jpr file -> newbusiness component package -> next
Package name:
Next
Connectionname: test
Sql flavor: oracle
Type map: oracle
Next
User name: apps
Password: apps
Next -> finish
Note: it generates test connection
4. Create applicationmodule:
Right click on package -> newapplicationmodule ->next
User name: TEST AM
Package:
Next-> finish
Note: it generates followingfiles
1.test am.xml
2.testamimpl.java
5. Create the file
Right click on .jpr file -> new-> webtier -> oa components -> page -> ok
Name: hellopg
Package:
Note: it generates the hellopg.xml
6. Set the properties ofthe page
Select the page -> structure -> region1
Properties:
Id: main rn
Am definition:
Windowtitle:
Title:
7. Build the application
Right click on .jpr -> re build
8. Run the page go to xml-> right click-> run page

Oracle Application Framework

  • 1.
    OAF:  Oracle applicationframe work is a proprietaryframework. Theframework is also available to customers for personalization, customizationandcustomapplication development.  The oaf is a model viewcontroller frameworkbuilt usingjava ee technologies. Set the environment variables: My computer-> advanced-> environment variables -> new. Variable name: jdev_user_home Variable value: C:Jdeveloperp21662342_R12_GENERICjdevhomejdevsuriya The packages, which are usedin the OA Frame Work Applications: There are six package usedin the OA FrameWorkApplications. 1) <3rdpartyidentifier> .oracle.apps...[] .webui 2) <3rdpartyidentifier> .oracle.apps...[] lov.webui 3) <3rdpartyidentifier> .oracle.apps...[] .server 4) <3rdpartyidentifier> .oracle.apps...[] lov.server 5) <3rdpartyidentifier> .oracle.apps...[] poplist.server 6) <3rdpartyidentifier> .oracle.apps...[] Schema.server Steps to develop theapplication: E.g. hello page 1. Create the workspace. 2. Create the project. 3. Create the package. 4. Create the application module. 5. Create the page. 6. Set the properties ofthe page. Am definition Windowtitle Title 1. Create the workspace: Workspace -> right click-> newworkspace Directory name: File name: Select add a new oa project 2. Create the project: Directoryname: Project name: Package name: Next Use responsibilityfordesign time Supply the name ofconnection: test New -> create the connection Edit -> change the connection Next Dbc file name: User name: Password: Applicationshort name: Responsibility key: Next – finish 3. Create the package: Right click on .jpr file -> newbusiness component package -> next Package name: Next Connectionname: test Sql flavor: oracle Type map: oracle Next
  • 2.
    User name: apps Password:apps Next -> finish Note: it generates test connection 4. Create applicationmodule: Right click on package -> newapplicationmodule ->next User name: TEST AM Package: Next-> finish Note: it generates followingfiles 1.test am.xml 2.testamimpl.java 5. Create the file Right click on .jpr file -> new-> webtier -> oa components -> page -> ok Name: hellopg Package: Note: it generates the hellopg.xml 6. Set the properties ofthe page Select the page -> structure -> region1 Properties: Id: main rn Am definition: Windowtitle: Title: 7. Build the application Right click on .jpr -> re build 8. Run the page go to xml-> right click-> run page