Learn the tasks, prerequisites, lessons, and file structure of the tutorial.
This tutorial shows you how to debug a loan validation application that is running on a remote server.
If you intend to follow this tutorial on an application server other than the sample server installed with Decision Server, you must install Rule Execution Server and the Scenario Service Provider (SSP) component on this server before you start. For more information, see the installation information for Rule Execution Server.
A loan company implements a loan validation policy that evolves continuously and provides a loan validation application for its agents.
flowtask main
{
body {
initResult;
dataValidation;
if (?context.?report.isValidData())
{
computation;
eligibility;
if (?context.?report.isApproved())
{
insurance;
}
}
}
};

Start this tutorial:Task 1: Deploying the loan validation application
In this tutorial, you deploy the loan validation web application. Then, from Rule Designer, you import the corresponding rule project and create a RuleApp project, so that you can deploy the loan validation RuleApp to Rule Execution Server. Then, you execute the application ruleset and analyze the results. Because you find an error in the execution, you enable debugging on the ruleset and on the application server. Finally, you embed and deploy the loan validation application with a Scenario Service Provider (SSP) client.
This tutorial takes about two hours to complete.
In this tutorial, <TutorialsDir> refers to the tutorial installation directory, by default, <InstallDir>/executionserver/tutorials.
The following table describes the structure of the <TutorialsDir>/resdebugging/shared directory.
| Directory or file | Description |
|---|---|
| data/ | This directory contains the LoanValidationRs.jar RuleApp archive that is used by the tutorial. |
| /WebContent | This directory contains the following JavaServer Pages and
subdirectories.
|
| /src | /web/* |
You must at least be familiar with Java™ EE technologies: Java EE packaging and deployment, JSP.
Start this tutorial:
Task 1: Deploying the loan validation application