Setting up the Java™ SE rule session sample
You use the Samples Console to install the sample.
Procedure
To install the sample:
- In Rule Designer, switch to the Samples Console perspective.
- In the Samples and Tutorials view, navigate to Rule Execution Server > Samples > Java SE rule session, and 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
- 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.
Parent topic: Java SE rule session