Before you start
Prepare for the tutorial by reading its description, and checking the audience and prerequisites.
A fictitious loan company must implement a continuously changing loan validation policy
through an application.
The application does the following actions:
- Validates input data from a web application.
- Calculates each customer's eligibility based on the customer's profile, score, and requested loan amount. The application applies a score or criteria to determine whether to accept or reject the loan.
- Computes an insurance rate if the loan is accepted.

You explore the capabilities of Rule Execution Server by using RuleApps that are generated by using the Build Command on decision services built in Rule Designer.
Learning objectives
You do the following tasks:- Check the Rule Execution Server console.
- Deploy a RuleApp by using the REST API, Rule Execution Server console or an Ant task.
- Test the RuleApp.
- Redeploy a RuleApp that includes updates.
- Work on RuleApp archives.
Time required
This tutorial should take approximately 40 minutes to finish. If you explore other concepts related to this tutorial, it could take longer to complete.Audience
You must be familiar with Jakarta EE packaging and deployment, and Ant.Prerequisites
This tutorial runs on the sample server.Directory structure
In this tutorial, <TutorialsDir> refers to the tutorial installation directory. By default, this directory is <InstallDir>/executionserver/tutorials.
The following table describes the structure of the <TutorialsDir>/resruleappmanagement directory.
| Directory or file | Description |
|---|---|
| build.xml | The main Ant build file |
| /data | This directory is used to store the RuleApp that is generated by the Build Command tool. |
| /work | This directory contains the modified checkAmount rule. |
Best practices
This tutorial includes the following best practices for managing RuleApps:- Use the browser search to find a method by its name in the REST API test tool. Example...
- Test the ruleset run by using the REST test interface. Example...