| 1. |
Install the RulesEngine JAR file After reading the Introduction to RulesEngine document, Download the re.jar file. Include it to the CLASSPATH directory.
|
 |
| 2. |
Create a Routing.java file The Routing.java needs to be created in the appropriate package directory. This example has the rules embeded in the program. Its always good to have the rules read from a file so that changes can be done without recompiling the java.
Execute the java code using: java com.mm.re.sample.SimpleRouting. The output is given below.
|