Events monitoring

This sample demonstrates how to generate notifications for actions that are done on property elements in the Rule Execution Server console.

Time required

10 minutes

Prerequisites

You must have Rule Designer installed to import and run this sample.

Make sure that the sample server is started. For information about how to start and stop the sample server, see Starting and stopping the sample server.

Description

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

To deploy and retrieve rulesets, the sample uses JMX technology to manage remotely the Management Beans (MBeans) on the Rule Execution Server. Remote JMX access uses the IlrJMXRuleAppMBean interface, 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 WebSphere Liberty, which is the sample server.

This sample includes the following key features:

  • Java™ Management Extensions (JMX) management
  • Ruleset management through Java Management Extensions (JMX)
  • Automated ruleset deployment
  • The IlrJMXRulesetMBean interface
  • The IlrJMXRuleAppMBean interface