Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
Oracle Applications Framework
Global Pragmatic Solutions LLC
May 27, 2011
www.pragmasolutions.com 1
Agenda
• Introduction to JDeveloper
• How to set-up JDeveloper
• How to develop applications using OAF
• How to generate documentation using OAF
• References and Documentation
www.pragmasolutions.com 2
Jdeveloper
• JDeveloper is Integrated Development Environment
o Integrates development features for Java, SOA, Web 2.0, Database, XML
and Web services into a single development tool
www.pragmasolutions.com 3
Jdeveloper Set-up
1. JDeveloper depends on version & Patch set level of Oracle EBS
o For example
Oracle EBS J Developer
11.5.10 ATG PF CU2 (patch 4125550) Patch 4573517
12.0.1 (patch 5907545) Patch 5856648
o For details, Oracle Support website
• https://support.oracle.com/CSP/ui/flash.html
• Review Oracle’s note : 416708.1
www.pragmasolutions.com 4
Jdeveloper Set-up
2. Download JDeveloper from Oracle Support website
3. Unzip to folder on your computer; Folder name should not contain
spaces
www.pragmasolutions.com 5
Jdeveloper Set-up
4. Set-up Jdeveloper environment variable on your computer
o My Computer � Right Click � Properties � Advanced System Settings
www.pragmasolutions.com 6
Jdeveloper Set-up
5. Jdeveloper Home environment variable
o Environment variables � New
• JDEV_USER_HOME
• c:\jdev9i\jdevhome\jdev
www.pragmasolutions.com 7
Jdeveloper set-up
6. Copy Database connection from Application Server to local
Computer
o Copy dbc file from Applications Server � Local Computer
o FTP dbc file from $FND_TOP/secure on Oracle applications server to
directory JDEV_USER_HOME/dbc_files/secure on local computer
• e.g. : C:\jdev9i\jdevhome\jdev\dbc_files\secure
www.pragmasolutions.com 8
Jdeveloper set-up
6. Template of dbc file is given below
www.pragmasolutions.com 9
Jdeveloper Set-up
7. Click on Jdeveloper (C:\jdev9i\jdevbin\jdev\bin\jdev.exe)
8. To create OA Workspace
o File � New � General �Workspace configured for Oracle Applications
www.pragmasolutions.com 10
Jdeveloper Set-up
9. OA Workspace
www.pragmasolutions.com 11
Jdeveloper set-up
10.Database connection
o Logon Oracle EBS Applications server
o FTP dbc file from $FND_TOP/secure to directory
JDEV_USER_HOME/dbc_files/secure to local computer
• e.g. : C:\jdev9i\jdevhome\jdev\dbc_files\secure
www.pragmasolutions.com 12
Jdeveloper set-up
10.Database connection
o Use database connection wizard to set-up new connection
o Jdeveloper � Connections � Database � New Connection
www.pragmasolutions.com 13
Jdeveloper set-up
10.Database connection
www.pragmasolutions.com 14
Jdeveloper set-up
10.Database connection
o Enter database user and password
www.pragmasolutions.com 15
Jdeveloper set-up
10.Database connection
o Enter database driver, host name, port and SID
www.pragmasolutions.com 16
Jdeveloper set-up
10.Database connection
o To test connection, click on “Test Connection”
www.pragmasolutions.com 17
J Developer Set-up
11. Set Preferences
o Menu � Tools � Preferences
www.pragmasolutions.com 18
J Developer Set-up
11. Embedded OC4J settings
www.pragmasolutions.com 19
Jdeveloper Set-up
12.OA Project
o Follow convention xxx.oracle.apps.inv.module.project
www.pragmasolutions.com 20
OA Framework
• HTTP Get and Post Requests
www.pragmasolutions.com 21
OA Framework
www.pragmasolutions.com 22
OA Framework
• HTTP Get and Post
o Get
• processRequest
o Post
• processFormData• processFormRequest
• OAPageContext
o getParameter
o putParameter
• OAWebBeanwww.pragmasolutions.com 23
Attribute Sets
• An attribute refers to a property of an element such as name or type.
• An attribute set is a reusable collection of attributes
• Attribute set can be used by any type of object, including regions,
items, and other attribute sets.
www.pragmasolutions.com 24
Attribute Set
www.pragmasolutions.com 25
OA Framework
www.pragmasolutions.com 26
• Entity Object � Database table
• View Object � Entity Object
• Application Module � View Object
• Page � Application Module
• Pages � Region � Sub-Region � Sub-Region � Items
www.pragmasolutions.com 27