Business rules manager examples
The project interchange contains a number of projects.
- BRMgmtExamples - Module project with business rules artifacts that are used in the various examples.
- BRMgmt - Java™ project with the examples located in the com.ibm.websphere.sample.brules.mgmt package.
- BRMgmtDriverWeb - Web project with interface for executing the samples.
The examples are also provided as an EAR file (BRMgmtExamples.ear) that can be issued once after installed in Workflow Server. A web interface is provided with the examples. The web interface is purposely simple as the examples focus on using the classes to retrieve artifacts, make modifications, and publish changes. It is not meant to be a high-functioning web interface. The classes can however, be easily used to build robust web interfaces or used in other Java applications focused on modifying the business rules.
The example application can be installed on WebSphere® Process Server v6.1 and the index page can be accessed at:
http://<hostname>:<port>/BRMgmtDriverWeb/
For example, http://localhost:9080/BRMgmtDriverWeb/
As the examples are issued, changes will be made to the rule artifacts. If all examples are issued, the application will need to be reinstalled to see the same results for all examples again.
The examples are explained in detail with complete code samples as well as the result as displayed in a web browser.
A number of additional classes were created in order to perform
common operations and assist with displaying the information within
the example web application. See the appendix for more information
on the Formatter and RuleArtifactUtility classes.
To fully understand these examples, a study of the different artifacts within IBM Integration Designer will greatly help.