How to Deploy a OAF Files

a) Copy all files except page definition from local machine to appropriate directories.

The files such as
Controllers *CO.class
Application modules *AM.class
View Objects *VOImpl.class, *VORowImpl.class, *VO.xml
Entity objects *EO.xml, *EOImpl.java
should be deployed in the $JAVA_TOP/<path of your file>.

b) Copy page definition(*PG.xml/*RG.xml) to $PROD_TOP/mds

c) Call java importer

The Page xml files(*PG.xml) and region xml(*RN.xml) files resides in the database. So you have to import the file into the database to make it work in the instance. Oracle application provides XMLExporter/XMLImporter to export and import page files from and to the database.

Deploy the files to the Instance
java oracle.jrad.tools.xml.importer.XMLImporter /home/prasanna/pages/SetupPG.xml -username <data base user name> -password <data base password> -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp)(host =<hostname> ) (port = <port id>)))(connect_data = (sid = <sid>)))"

This command will import the SetupPG.xml file into the database.

d) Create form function with property "SSWA jsp function" and webhtml "OA.jsp?page=fullpath/XMLfilename".

Function Type:SSWA jsp function

(SSWA stands for Self Service Web Applications.)

HTML Call:OA.jsp?page=/oracle/apps/fnd/framework/toolbox/tutorial/webui/HelloWorldPG

(Note:No xml end with *PG File)


e) Add function to menu

f) Add menu to responsibility(Optional)

g) Bounce the OC4J or Apache server

see :http://blog.youkuaiyun.com/pan_tian/article/details/8135987

(without bounce server, system will prompt error like:The XXX function is not available under the XXX responsibility)





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值