Java EE rule session

This sample demonstrates how to call a decision service in a web application using the REST API.

Time required

5 minutes

Prerequisites

You use the Samples Console, and need access to Rule Execution Server. Make sure that Rule Execution Server is installed. Check that the sample server is started (see Starting and stopping the sample server).

Description

In this sample, you learn how to call a decision service in a web application by using the REST API in Java Script and JQuery. It gives you the minimal packaging required to run a decision service.

The sample includes these key features:
  • RuleApp deployment in headless mode
  • REST API running