This tutorial is an excerpt from the new Skills421 (www.skills421.com) training course that I am writing for JBOSS Drools.
In part1 we covered the Problem Domain, in part2 we set up our project to work with Drools 5.4.0.Final and JUnit, and in part3 we will create the Classes for our Facts that we are going to pass to the Rule Engine.
Now in part4 we will create the Person class which is the type of Fact that we will insert into the Rule Engine, we will create the Rule Runner that will build the Knowledge Base for our Rule Engine and insert our Facts into the Rule Engine, and we will create and run our first rule.
Creating the Rule Runner
The Rule Runner is responsible for parsing the rules that we pass to it and packaging them into a Knowledge Base.
It is also responsible for evaluating…
View original post 1,005 more words