Before you begin
This topic provides a brief overview of the steps involved in externalizing Business Rule Beans. To gain an understanding of business rules and Business Rule Beans (BRBeans), review the topic Overview of Business Rule Beans. The following sections provide an overview of externalizing business rules using Business Rule Beans:Steps for this task
Example
To help you get started quickly, a sample BRBeans application is provided. Samples are installed by default during a typical WebSphere installation or you can select to install specific samples during a custom installation.
The BRBeans sample is an online movie store application. The application's EAR file is installed and the application is configured to use the Cloudscape database (Cloudscape is provided with WebSphere Application Server). A number of rules are created that you can view using the Rule Management Application (RMA).
To start the RMA, change to the <install_root>/bin directory and type one of the following commands:
rulemgmt ..\samples\lib\BRBeans\movieSampleProperties
rulemgmt.sh ../samples/lib/BRBeans/movieSampleProperties
By running the sample, you can see how these rules are used. The source code for the sample also is provided in the <install_root>/samples/src/BRBeans/Movie directory. To see the use of trigger points, search the code for places where the trigger() method is used.