Examples (JBoss-Drools and Prolog)
Examples with JBoss-Rules.
-
HelloWorld with Rules. Shows the basic principles: A single rule, a simple fact and some nice'n easy glue code.
-
Integrating the rule-engine into your application: Implementing a RuleEngineWrapper
-
Solving the Golfer-Riddle with a rule engine. See below for Prolog-solution.
-
Routing messages or requests, sometimes called content based routing
Examples with Prolog
Prerequsites: You should know the Prolog syntax. Excellent tutorials exist on the web, I will not provide a syntax overview.
- The Golfer riddle revisited, solved in Prolog. In my opinion a lot cleaner than in Java+Drools - but decide for yourself.

