| ILOG JRules User Guide > Orchestrating Ruleset Execution > Concepts > Rulesets and Ruleset Archives |
Rulesets and Ruleset Archives |
PREVIOUS NEXT |
Rules relating to a given decision are organized for execution and stored in a ruleset. A ruleset is a standalone, executable container that corresponds to a decision. It contains a set of rules and rule artifacts that will be executed by the rule engine.
You package rulesets into a ruleset archive. A ruleset archive contains a technical language version of the rules and rule artifacts, and all the supporting data necessary to execute a ruleset. . These include the JRules representations of the rules, functions, and ruleflows themselves as well as the supporting JRules files such as BOM, XOM and BOM to XOM mapping.
In order to be deployed, rulesets need to be packaged into a RuleApp. A RuleApp is a 'container', a deployable management unit that contains one or more rulesets. RuleApps should normally contain rulesets that share the same object model.
A ruleset may include the following artifacts:
You create the ruleset archive from one or more rule projects. Multiple projects are set with the Rule Project Dependencies property for the main project. Rule Studio provides a ruleset extraction facility that enables you to filter only those rules in a project that you want placed in a ruleset archive for subsequent execution.
A ruleset archive contains the rule artifacts and all the supporting data necessary to execute a ruleset, including:
META-INF, which contains:
descriptor.xml file - includes the archive version and the ruleset signature
index.xml file - contains an index of the rules, functions, tasks, variables, BOMs, and BOM to XOM mappings
RESOURCES, which contains:
metadata.xml file - includes the hierarchical properties and the property type declaration in XML format
bominfo.xml - includes the BOM paths
engine.conf file
header.irl file - includes the ruleset header
Ruleset archives are created as a JAR file, which you can examine:
When you open the JAR file you will see all the rules included in the archive as IRL files. The JAR files also contains the BOM file for the project, plus additional BOM files if the project refers to other projects, and other ruleset archive components.
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |