Automated ruleset management

This sample demonstrates how to do ruleset management tasks in Rule Execution Server.

Time required

10 minutes

Prerequisites

You must have Rule Execution Server installed to use this sample.

Description

This sample shows how to manage rulesets, including deployment and ruleset management from a running Rule Execution Server instance.

To deploy and retrieve rulesets, the sample uses the Java™ Management Extensions (JMX) technology to manage remotely the Management Beans (MBeans) on the Rule Execution Server. Remote JMX access uses the IlrJMXRepositoryMBean API, which acts as an interface for the Rule Execution Server management model. The Rule Execution Server model provides a way to create, list, remove, and modify the management entities. It also provides facilities for processing and retrieving RuleApp archives.

The sample is implemented for several application servers, each with a specific remote JMX API:

  • WebSphere Liberty 16, which is the sample server
  • WebSphere® Application Server 8.5.5
  • Oracle WebLogic Server 12.1.13
  • Tomcat 8
The sample includes the following key features:
  • Java Management Extensions (JMX) management
  • Ruleset management through JMX
  • Automatic ruleset deployment
  • The IlrJMXRepositoryMBean interface
  • The IlrJMXRuleAppMBean interface