IBM BPM, V8.0.1, All platforms > Programming IBM BPM > Business rule management programming

Examples

A number of examples are provided that show how the different classes can be used to retrieve business rule groups and to make modifications to rule sets and decision tables. The examples are provided in a project interchange file (ZIP) that can be imported into WebSphere Integration Developer where they can be browsed and reused.

The project interchange contains a number of projects.

The examples are also provided as an EAR file (BRMgmtExamples.ear) that can be issued once after installed into WebSphere Process 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.

You can download the example project interchange and EAR file from Business Rule Management Programming Guide for WebSphere Process Server V6.1.

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 WebSphere Integration Developer will greatly help.

Business rule management programming