Sample: Events monitoring

This sample shows how to generate notifications for actions performed 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 perform 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 the Management Beans (MBeans) on the Rule Execution Server remotely. 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® Application Server 8.5, 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