1. In JDeveloper compile the page.
When page got compiled, it will create .class files for all our java files.
java files and xml files -> Jdeveloper installed place\jdevhome\jdev\myprojects
class files and xml files -> Jdeveloper installed place\jdevhome\jdev\myclasses
2. Java Files can also be compiled in UNIX.
Go to JAVA_TOP(/u01/oracle/DEMO/apps/apps_st/comn/java/classes).
3. In JAVA_TOP copy your package structure of myprojects (eg: xxvem/oracle/apps/per/selfservice/server, xxvem/oracle/apps/per/selfservice/webui)
Compile each Java file.
eg. xxvem/oracle/apps/per/selfservice/server/
xx_paymentsVOImpl.java
javac xx_paymentsVOImpl.java -> To compile java file.
Continue this process for all java files.
OR
Copy Package structure for all class files from \jdevhome\jdev\myclasses to server
/oracle/DEMO/apps/apps_st/comn/java/classes/ ( cd $JAVA_TOP)
4. Run your import script for pages and regions.
Note: When you did modifications on the page then you need to move page.xml file and run Import script. If you changed the only code in CO, AM, VO no needs to run the import script every time, bounce the services is enough.
5.Import script should be run from webui path (e.g. xxvem/oracle/apps/per/selfservice/webui)
6.Go to xxvem/oracle/apps/per/selfservice/webui in UNIX
and run below Import script.
java oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/xxvem/oracle/apps/per/selfservice/webui/XXVEMSelfservicePG.xml -rootdir $JAVA_TOP -username apps -password veMUL76 -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<HOSTNAMW>)(PORT=<Port Number>))(CONNECT_DATA=(SID= <SID Value>)))"
7. Print Documents to check imported XML page content (Optional)
Example:
BEGIN
jdr_utils.printDocument('/xxvem/oracle/apps/per/selfservice/webui/XXVEMSelfservicePG.xml,1000);
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE(SQLERRM);
END;
8. Create a Function(Application Developer->Applicaton->Function)
In Properties -> select Type = SSWA JSP Function
In WEBHTMl -> select HTML Call =
OA.jsp?page=/xxvem/oracle/apps/per/selfservice/webui/XXVEMSelfservicePG
9. Create a Menu and submenu.Attach this Function to sub menu and submenu to a menu.
Attach menu to Responsibility and run the page.
When page got compiled, it will create .class files for all our java files.
java files and xml files -> Jdeveloper installed place\jdevhome\jdev\myprojects
class files and xml files -> Jdeveloper installed place\jdevhome\jdev\myclasses
2. Java Files can also be compiled in UNIX.
Go to JAVA_TOP(/u01/oracle/DEMO/apps/apps_st/comn/java/classes).
3. In JAVA_TOP copy your package structure of myprojects (eg: xxvem/oracle/apps/per/selfservice/server, xxvem/oracle/apps/per/selfservice/webui)
Compile each Java file.
eg. xxvem/oracle/apps/per/selfservice/server/
xx_paymentsVOImpl.java
javac xx_paymentsVOImpl.java -> To compile java file.
Continue this process for all java files.
OR
Copy Package structure for all class files from \jdevhome\jdev\myclasses to server
/oracle/DEMO/apps/apps_st/comn/java/classes/ ( cd $JAVA_TOP)
4. Run your import script for pages and regions.
Note: When you did modifications on the page then you need to move page.xml file and run Import script. If you changed the only code in CO, AM, VO no needs to run the import script every time, bounce the services is enough.
5.Import script should be run from webui path (e.g. xxvem/oracle/apps/per/selfservice/webui)
6.Go to xxvem/oracle/apps/per/selfservice/webui in UNIX
and run below Import script.
java oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/xxvem/oracle/apps/per/selfservice/webui/XXVEMSelfservicePG.xml -rootdir $JAVA_TOP -username apps -password veMUL76 -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<HOSTNAMW>)(PORT=<Port Number>))(CONNECT_DATA=(SID= <SID Value>)))"
7. Print Documents to check imported XML page content (Optional)
Example:
BEGIN
jdr_utils.printDocument('/xxvem/oracle/apps/per/selfservice/webui/XXVEMSelfservicePG.xml,1000);
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE(SQLERRM);
END;
8. Create a Function(Application Developer->Applicaton->Function)
In Properties -> select Type = SSWA JSP Function
In WEBHTMl -> select HTML Call =
OA.jsp?page=/xxvem/oracle/apps/per/selfservice/webui/XXVEMSelfservicePG
9. Create a Menu and submenu.Attach this Function to sub menu and submenu to a menu.
Attach menu to Responsibility and run the page.
No comments:
Post a Comment