Drools ~ Basic Rules example

In the previous post we learned how to configure a Drools Project. Now is time to create a Drools Project and learn the different ways of interacting with the Drools Session in order to insert objects into the memory and let the engine do its work.

First of all, we will review the project configuration and the data model involved in this example.

After that, we will review the Drools API and explain the decisions that we want to make and the rules that will help us to meet our goal. Finally, Test Cases for our project are explained step by step.