概述
Download JDeveloper
参考下边Note来下载JDev,不同版本的EBS需要下载不同版本的JDev
Note 416708.1 - OA Framework - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x
ATG Release 12 Version | JDeveloper10g Patch |
12.0.6 (patch 6728000 or patch 7237006) | Patch 7523554 10G Jdeveloper With OA Extension ARU for R12 RUP6 |
12.1.2 (patch 7303033 or patch 7651091) | Patch 9172975 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12.1.2 |
12.1.3 (patch9239090or patch 8919491) | Patch 9879989 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12.1.3 |
不同版本的JDEV包含不同的FND包,所以你必须挑选正确保本的JDEV来下载
Extract the JDeveloper patch
JDev Patch解压后会有三个目录
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
JDEV_USER_HOME Environment Variable
增加一环境变量:JDEV_USER_HOME,值为<install directory>jdevhomejdev
Copy a .dbc file to your local dir
通过putty之类的工具SSH到Apps Server,在$INST_TOP/appl/fnd/12.0.0/secure或者$FND_SECURE目录下找到.dbc文件,把dbc文件拉到<JDEV_USER_HOME>dbc_filessecure目录下
dbc文件内包含许多连接数据库的必要参数(比如APPS_JDBC_URL,DB_PORT,DB_HOST...),有点像Oracle数据库的tnsnames.ora配置文件。
Launch your JDeveloper
jdevbinjdevbinjdevW.exe
Create a Database Connection
Hello World
JDev自带了一套Demo Project,你可以用它来测试JDev配置是否正确,File -> Open,<JDEV_USER_HOME>myprojectstoolbox.jws
右键Tutorial project --> Project Properties --> Runtime Connection
和正常运行EBS系统不同,在JDev里运行OAF页面,我们没有提供一个responsibilities列表让用户选择,也没有提供一个页面让用户输入用户名和密码。我做的仅仅是右键一个Page,然后Run。所以系统用户,密码,还有职责的信息,你需要输入到这里"Runtime Connection"。注意:这个用户名和密码是有效的,并且这个用户可以访问对应的职责。
Use below query script to find Application Short Name and Responsibility Key
SELECT A.APPLICATION_SHORT_NAME,R.RESPONSIBILITY_KEY
FROM FND_RESPONSIBILITY R,FND_APPLICATION A ,FND_RESPONSIBILITY_TL TL
WHERE R.APPLICATION_ID = A.APPLICATION_ID
AND R.RESPONSIBILITY_ID = TL.RESPONSIBILITY_ID
AND A.APPLICATION_ID = TL.APPLICATION_ID
AND TL.RESPONSIBILITY_NAME LIKE 'Inventory%';
Run Options
OADeveloperMode默认都会有的,我需要做的是OADiagnostic加到Selected Options列表中区。
In jDeveloper, you must include OADiagnostic in the “Run Options”. This is effectively similar to setting profile option “FND: Diagnostics” to Yes in eBusiness Suite. Using this option, you will be able to click on ‘Diagnostics’ to enable On-Screen display of debug messages.
Database Connection中,选择刚刚设置的数据库。
还有一个设置,Business Components项下,选择刚才新建的数据库,这步对于仅仅测试下页面来说不是必须的,但是如果后续要新增BC4J组件的时候,就会使用到这个数据库连接。
右键oracle.apps.fnd.framework.toolbox.tutorial.webui.HelloWorldPG.xml,Run
Enjoy...
Some Other Reference
Configuring JDeveloper For Use With Oracle Applications 11i and R12 (Doc ID 330236.1)
最后
以上就是聪明草丛为你收集整理的JDeveloper Setup for OA Framework的全部内容,希望文章能够帮你解决JDeveloper Setup for OA Framework所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复