If you want to do some OAF Development in JDeveloper for the first time, you will need to do the following things.
1] Download JDeveloper Patch
Based on your instance release level, check out the version of JDeveloper to use using below link.
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=416708.1
You can identify the OA Framework version in your instance by activating diagnostics and click the “About This Page” from any OAF page. Click the “Technology Components” tab. The OA Framework version in the top row of the table can then be matched to the JDeveloper Patch.
Download the JDeveloper Patch.
You can also use this query to find about your version :
SELECT release_name FROM fnd_product_groups;
2] Extract the JDeveloper patch in a directory say D:\DevSuiteHome_1\jdev
The patch actually contains below three directories
- jdevbin – Includes an extended version of the Oracle JDeveloper 10g executable and OA Framework class libraries.
- jdevhome – Includes the OA Framework Toolbox Tutorial source and developer working area.
- jdevdoc – Contains documentation.
3] Define an environment variable
Define an environment variable JDEV_USER_HOME for your local machine. This has to be set to jdevhome\jdev directory. In above example it has to be D:\DevSuiteHome_1\jdev\jdevhome\jdev.
My Computer – Properties – Advanced tab – Environment Variables – New
Variable: JDEV_USER_HOME
Value: D:\DevSuiteHome_1\jdev\jdevhome\jdev
4] Create the shortcut of jdevW
Their you will find jdev and jdevW icons. The jdev is for UNIX environment and jdevW is for Windows environment.
Create the shortcut of jdevW. And send to desktop
Also can be check by this :
http://hostname.com:portnumber/OA_HTML/jsp/fnd/aoljtest.jsp
4] Move the DBC file
After creating the environment veriable we have to move the DBC file from Oracle Apps fnd top to jDeveloper patch.
Here we are using WinScp which connects to the server from our desktop system.
After finding where exactly the DBC file located go to that particular path and copy the DBC file.
(/oracle/apps/r12/inst/apps/visr12_ebsr12/appl/fnd/12.0.0/secure)
After copying, in your desktop system go to
Jdevhome–> jdev–> dbc_files–> secure
Here we will not find any files or documents the folder is empty now we need to paste the DBC file which we copied from the Oracle Apps Instance Server.
5] Now Test Database
After moving the DBC file now open the JDeveloper and create the Data Base Connection.
After opening the file it will ask for Configure File Type Associations, on check box check all the available types to associate with JDeveloper.
Go to Connections tab after that Right Click on Data Base folder and then select New Database Connection…
6] Set The Default Project Properties
After creating the DataBase Connections, Set the default project properties.
Go to Tools -> Default Project Properties
In that select Runtime connection, adjust the runtime connection information, necessary for the database and Oracle E-Business Suite.
Brows the DBC file from the jDeveloper patch where we moved from the server.
(Jdevhome–> jdev–> dbc_files–> secure)
Username: The user name is Oracle Apps instance User Name
Password: Password is Oracle Apps instance Password.
Application Short Name: In which application u want to run give the Application Short Name of that application.
Responsibility key: Responsibility key of that application short name.
…