Setting up the file ruleset execution sample
You use the Samples Console to install the sample.
Procedure
To install the sample:
- Open to the Samples Console (see Running samples from the the Samples Console).
- In the Samples and Tutorials tab, expand Rule Execution Server > Samples.
-
Under File ruleset execution, click Import
projects. Rule Explorer displays the imported sample project files:
- The sample execution code:
j2serulesession - The decision service projects: Loan Validation Base, Loan Validation Check, Loan Validation Determination, Loan Validation Scoring and Loan Validation Service
- The decision service XOM : loan-validation-xom
- The sample execution code:
-
Generate the RuleApp:
- In the Rule Explorer, double-click Loan Validation Service/deployment/test deployment to open the deployment configuration.
- In the Deployment, Overview editor, click Proceed to RuleApp deployment.
- In the Deployment summary, click Workspace to change the path where the deployed resources are generated.
- In the Folder selection, navigate to j2serulession/data, and click OK.
- In the Deployment summary, click Finish and wait for the Deployment
report.

- Open j2serulession/data to see the generated files. The generated RuleApp is test_deployment.jar.