Ruleset management and execution
This sample demonstrates how to use the Rule Execution Server REST API to manage and run decision services in the Rule Execution Server database in a J2SE application.
Time required
10 minutes
Prerequisites
You use the Samples Console. Ensure that the sample server is started (see Starting and stopping the sample server).
Description
This sample shows you how to do the following tasks in the REST API in Java™:
- Get and modify the content of the Rule Execution Server database by using the REST API in Java.
- Deploy a RuleApp built by using the Build Command.
- Execute a ruleset by using the REST API in Java.
The sample uses the task results as JSON objects.
The sample includes the following key features:
- The Rule Execution Server REST API in Java
- Use of the response in JSON
- Management of RuleApps, rulesets, and resources
- Execution of rulesets