Vous êtes sur la page 1sur 6

Steps to be followed when installing JDeveloper

Create new folder JDeveloper9i in D drive. Extract p4045639_11i_GENERIC.zip file into above created folder. The steps mentioned in the above file are given below: Task 1: Configure the JDEV_USER_HOME Environment Variable
Warning: Do not skip this step; JDeveloper will not work properly without this. Windows 2000 1. Select My Computer on your desktop, right-click and select Properties. 2. In the System Properties dialog, select the Advanced tab. 3. In the Advanced page, select the Environment Variables... button. 4. In the Environment Variables dialog, select the New... button at the User variables for <username> box. 5. In the New User Variable dialog, enter JDEV_USER_HOME in the Variable Name field. Set the Variable Value field to <drive>:\jdevhome\jdev where <drive> is the drive where you installed the OA Framework ARU. For example: D:\Jdeveloper9i\jdevhome\jdev. 6. Select OK in each of the dialogs you opened to save the new user environment variable. Warning: The variable value should not contain a leading space before the drive name. If it does, your environment will not work properly. Screenshot of Task1 is shown below.

Task 2: Obtain a Database Connection File


Obtain the FND database connection (.dbc) file from the system administrator / DBA for the instance where you want to do your development. Place this file in the <JDEV_USER_HOME>\dbc_files\secure directory. (The dbc file is obtained from $FND_TOP/secure of the instance.) Place the DBC file taken from an instance in the following directory before running the page, D:\Jdeveloper9i\jdevhome\jdev\dbc_files\secure Note: - Please make sure to remove all the back slashes (\) from APPS_JDBC_URL in your dbc file (or) comment the whole line by prefixing #(This is a bug).

Task 3: Create a Desktop Shortcut to JDeveloper


To facilitate launching JDeveloper, create a desktop shortcut to D:\Jdeveloper\jdevbin\jdev\bin\jdevw.exe.

Task 4: Launch JDeveloper; Configure Your Database Connection and User


1. Launch Oracle9i JDeveloper by selecting the desktop shortcut that you created in Task 3 above. 2. Open the OA Framework ToolBox Tutorial workspace file by selecting File > Open from the main menu. Navigate to <JDEV_USER_HOME>\myprojects and open the file toolbox.jws. 3. In the JDeveloper System Navigator, expand the toolbox.jws to display its contents. Select the Tutorial.jpr project and select Project > Project Settings. 4. In the Project Settings dialog, expand the Oracle Applications node and select Runtime Connection. 5. In the Connection box, use the Browse... button to locate the DBC file that you saved in Task 2 above. The file should be in the <JDEV_USER_HOME>\dbc_files\secure directory. 6. Specify the User Name and Password of the oracle application instance. (Note: user name is operations, password is welcome for REMO & DEMO instances) 7. Repeat Steps 3 - 6 for the LabSolutions.jpr project. 8. Expand the Connections node in the JDeveloper System Navigator, and then expand the Database node. Right-click on the Database node, and select New Connection... to open the Connection Wizard. Follow the JDeveloper instructions to define a new database connection for the Oracle Applications database identified by the DBC file you selected above. 9. In the System Navigator, select the Tutorial.jpr project again. Right-click and select Edit Business Components Project.... 10. In the Business Components Project Wizard, select the Connection option and set the Connection Name to the connection you just defined. Select OK to save your changes. 11. Repeat steps 8 and 9 for the LabSolutions.jpr project.

Task 5: Test your Setup


Tip: You should use Internet Explorer 5.0+ as your default browser if you want pages to look as they do in the OA Framework ToolBox Tutorial / Sample Library. 1. If the toolbox.jws workspace is not already open in the JDeveloper Navigator, follow the instructions in Task 4 above to open it. 2. In the System Navigator, select toolbox.jws and select Project > Rebuild toolbox.jws from the main menu. You should get 0 errors (warnings are okay and expected). 3. In the System Navigator, expand the Tutorial.jpr project again and select Project > Show Categories from the main menu (this helps organize the files in a large project). 4. Expand the HTML Sources category beneath Tutorial.jpr, select test_fwktutorial.jsp, and select Run > Run test_fwktutorial.jsp from the main menu.
o

The Test Framework ToolBox Tutorial page displays a list of lesson links; select Hello, World! To run a very simple page. If you can't run the Hello, World! Page, please revisit the steps listed above to ensure that you completed everything correctly.

5. Now you are ready to follow for some hands-on experience with the Oracle 9i JDeveloper OA Framework Extension. The ToolBox Tutorial lessons can be launched from jdevdoc\index.htm.

2) What does the Default Package mean when creating an OA Project (.jpr)? Default package is just a directory structure for the code you are going to write. If the package name is xxhcl/oracle/apps/xxinv as shown in the screenshot below then the directory in application server would be $JAVA_TOP/ xxhcl/oracle/apps/xxinv

3) How do personalize an OA Page? Set the value for the profile Personalize Self-Service Defn as Yes at site level as shown below. Logout of the application and login to see the personalization options.

Vous aimerez peut-être aussi