Before you start
This topic explains the tasks, objectives, and prerequisites of this tutorial.
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.

Learning objectives
- REST API
- Rule Execution Server console
- Rule Execution Server Ant tasks
You explore the capabilities of Rule Execution Server by using RuleApps that are generated in Rule Designer:
- The source decision service projects are based on the answer projects in the Rule Designer tutorial Creating a decision service with multiple projects. You use the test deployment configuration with the RuleApp name loanvalidation_for_resruleappmngt.
- The modified rule is the checkAmount action rule in the . It also checks the minimum amount of the loan. It uses the test deployment configuration with the RuleApp name loanvalidation_for_resruleappmngt. The JAR file is renamed loanvalidation_for_resruleappmngt_modified.
Time required
This tutorial takes about one hour to complete.
Software requirements
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 contains the JAR files of the RuleApp archives that are used in the tutorial: loanvalidation_for_resruleappmngt.jar, loanvalidation_for_resruleappmngt_modified.jar, and loan-validation-xom.zip. |
| /work | Use this directory as your work directory as you go through the tutorial steps. |
What you need to know
You must be familiar with Java™ EE packaging and deployment, and Ant.