Wednesday, June 29, 2011

Accessing Custom JAVA Code in BPEL (Eg. ora:custom code)

If you would like to use some code in your BPEL processes (Eg: ora:custom implementation, Java Embedded Activity) then create a JAR file of your Java project and do the following,

1) cd to /soa/modules/oracle.soa.ext_11.1.1
2) Copy in your custom jar file
3) run ant (make sure ant is installed and available in this directory) on command prompt. This will run the build.xml file located in the above directory
4) Restart the Server

A "readme" file, is available in the above directory that provides instructions to add the custom jar to manifest of oracle.soa.ext.jar that is picked up the class loader.

No comments:

Search This Blog