Ruleset execution

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

Time required

5 minutes

Prerequisites

You use the Samples Console. Ensure 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. It includes a sample web application that uses Bootstrap and Java.

In this sample, you do the following tasks:
  • Build a RuleApp by using the build command.
  • Deploy a RuleApp to Rule Execution Server by using an Ant command.
  • Call the RuleApp in a web application by using the REST API in Java.