壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1141|回复: 0

[OAF] JDeveloper Setup for OA Framework

[复制链接]
发表于 2013/2/4 18:40:08 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
本帖最后由 tianpan 于 2013/2/4 18:41 编辑

JDeveloper Setup for OA Framework   

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 VersionJDeveloper 10g 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 (patch 9239090 or patch 8919491)Patch 9879989 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12.1.3
不同版本的JDEV包含不同的FND包,所以你必须挑选正确保本的JDEV来下载


Extract the JDeveloper patchJDev Patch解压后会有三个目录
1358936298_8972.jpg
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>\jdevhome\jdev

1358934508_3294.jpg


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_files\secure目录下

1358934687_5492.jpg

dbc文件内包含许多连接数据库的必要参数(比如APPS_JDBC_URL,DB_PORT,DB_HOST...),有点像Oracle数据库的tnsnames.ora配置文件。



Launch your JDeveloperjdevbin\jdev\bin\jdevW.exe
1358937157_7097.jpg



Create a Database Connection 1358937551_3307.jpg

1358937645_8528.jpg
1358937677_6993.jpg
1358937707_7464.jpg
1358937736_6491.jpg


Hello WorldJDev自带了一套Demo Project,你可以用它来测试JDev配置是否正确,File -> Open,<JDEV_USER_HOME>\myprojects\toolbox.jws

1358997276_1749.jpg
右键Tutorial project --> Project Properties --> Runtime Connection
和正常运行EBS系统不同,在JDev里运行OAF页面,我们没有提供一个responsibilities列表让用户选择,也没有提供一个页面让用户输入用户名和密码。我做的仅仅是右键一个Page,然后Run。所以系统用户,密码,还有职责的信息,你需要输入到这里"Runtime Connection"。注意:这个用户名和密码是有效的,并且这个用户可以访问对应的职责。

1358997513_4468.jpg
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
1359445758_3144.jpg
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.
1359448451_5995.jpg


Database Connection中,选择刚刚设置的数据库。

1358998101_3665.jpg
右键oracle.apps.fnd.framework.toolbox.tutorial.webui.HelloWorldPG.xml,Run

1358999568_3556.jpg
1358999906_4475.jpg

Enjoy...




Some Other Reference

Configuring JDeveloper For Use With Oracle Applications 11i and R12 (Doc ID 330236.1)



原帖:http://blog.csdn.net/pan_tian/article/details/8534763
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/30 00:39 , Processed in 0.016561 second(s), 18 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表