Sample: Java SE rule session
This sample shows how to execute a rule session in Java™ SE.
Time required
10 minutes
Prerequisites
To use this sample, you must have Rule Execution Server installed.
Description
This sample simulates a batch process that uses a number of pre-trade check operations, with the goal of comparing the results of executing two different versions of a ruleset. The versions of the ruleset are generated by using the pre-trade checks tutorial after the modification of some rules.
The sample also demonstrates the use of Ant task management.
The key features of this sample
include:
- The Rule Execution Server in Java SE
- The Rule Execution Server file persistence mode
- How to package a Java SE application to use Decision Server
- Rulesets
- XML binding
- Ant tasks, including the use of res-write-file