Try OpenEdge Now
skip to main content
BPM Events User's Guide
Accessing Java objects and EJB components : Rule language extensions : Using external java objects in rules
 

Using external java objects in rules

BPM Events allows the invocation of user-defined Java objects from rules. The location and packaging of these external Java objects is described below.
Note: Make sure the user-defined class does not use any of the BPM Events internal classes. Failure to adhere to this rule may cause problems during the loading of the application.
*Locations common to all applications
*OEBPS_HOME\ebmsapps
*OEBPS_HOME\ebmsapps\common\ejbadapters
*OEBPS_HOME\lib
*Locations specific to an application
*OEBPS_HOME\ebmsapps\<application name>\lib
In general, BPM Events can load the class files placed directly in the following locations:
*OEBPS_HOME\ebmsapps
*OEBPS_HOME\ebmsapps\common\ejbadapters
The classes from jar files are loaded from the following locations:
*OEBPS_HOME\ebmsapps\<application name>\lib
*OEBPS_HOME\lib
The lib location is used to search for .jar files as well as class files, but the location ebmsapps\<application name>\lib is used to search only for the jar files.