The WSO2 BRS samples guide demonstrates a set of usecases of BRS where each usecase only presents a sub set of rules related to a particular application domain. The samples guide explains how to write, deploy, and test business rules using WSO2 BRS. The source code for all the samples can be found under <PRODUCT_HOME>/samples
directory.
All samples can be built using Apache Ant build tool. The steps are as follows:
1. Install and run the WSO2 BRS using instructions in the Installation Guide.This includes downloading and installing Apache Ant as one of the Installation Prerequisites.
2. In a command prompt, switch to <PRODUCT_HOME>/samples
directory and simply run the ant command. For example, in Windows:
The following samples are available: