Java SE rule session
This sample demonstrates how to deploy a RuleApp in J2SE mode, and then to run a ruleset in a J2SE application.
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. The goal is to compare the results from running 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 sample includes these key features:
- The Rule Execution Server in Java™ SE
- The Rule Execution Server file persistence mode
- Packaging a Java SE application to use Decision Server
- Rulesets
- Using res-write-file Ant tasks