In our first step we will download correct version of Jdeveloper with OA Extension. To get the correct version, we will first establish the version of E-Business Suite (EBS) we are on then download JDeveloper from Oracle Support and install it.
- Log on to EBS and click on the About this Page link.
- Click on the Technology Components tab
- Version will display to you
- We will download to support support.oracle.com
- Find the note How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x [ID 416708.1]. Type 416708.1 in the search box, and click the search icon.
- Click on the version we require to download
- Click on the Download button to download the correct version to your PC
- Unzip the file into a local directory called C:\Jdev
You will notice that JDeveloper has created the following three directories under the C:\Jdev directory (or the directory you chose to unzip it in): jdevhome—All pages and code we develop. Also, contains the .dbc file to connect to the database instances. jdevbin—All Jars, executables for Jdev and FND classes. jdevdoc—Contains all of the Oracle OAF tutorials, the Developer Guide (HTML), and an explanation of all the classes, methods, and parameters.
Setup Environment Variable
- Right-click on My Computer or Computer, and select Properties from the menu.
- Click on Advanced System Settings to open the System Properties window.
- Click on the Advanced tab.
- Click on the Environment Variables button.
- Select the New button for user variables.
- In the Variable name field, enter JDEV_USER_HOME.
- In the Variable value field, enter the directory of the jdevhome\jdev directory, for example, C:\oaf\jdevhome\jdev as shown in the following screenshot
- Press Button OK.
Transferring DBC from Application Server
In order to connect Jdeveloper to database we need DBC file, now we will transfer DBC file to our local directory for creating database connections with JDeveloper.
- Open WinSCP and connect to the application server.
Creating Shortcut to Desktop.
- Navigate to the directory, C:\oaf\jdevbin\jdev\bin.
- Right-click on the jdevw.exe and select Send To | Desktop (create shortcut).
- Rename the shortcut on the desktop if desired, for example, Jdev R12.
Creating database connections in JDeveloper
To add a database connection, perform the following steps:
- Start JDeveloper.
- Click on the Connections tab in Applications Navigator.
- Right-click on the Database node, and select New Database Connection.
The new database connection wizard will now be displayed.
4. Click on Next on the welcome page and check Skip this Page Next Time if
5. In the Connection Name field, type VISR12 (this is just a name for the connection
and can be anything relevant), and click on Next.
6. When prompted, enter apps in the username field and the <apps password> in the
password field, that is, apps/apps and click on Next.
7. Enter the following connection details:
8. Click on the Next button.
9. Click the Test Connection button and then Finish as shown in the following
Setting up OC4J and project properties
- Open JDeveloper.
- Check the OC4J Settings in Tools | Embedded OC4J Preferences Global Startup.
- Check if the Host Name or IP Address Used to Refer to Embedded OC4J is set to Default Local IP Address, as shown in the following screenshot:
- Press Button OK
Setting up OAF runtime connection
- Open JDeveloper.
- Navigate Tools --> Project Properties --> Oracle Applications --> Runtime Connection
- Set the following fields:
DBC File Name: C:\Jdev\jdevhome\jdev\dbc_files\secure\VISR12.dbc
User Name: sysadmin
Application Short Name: ICX
Responsibility Key: FWK_TBX_TUTORIAL
4. Press Button OK