We're embarking on a module which will generate some recommendations based on some criteria. The criteria will be in the form of set of Business Rules and hence I was considering using a Business Rule Engine like Drools(open source and java :-) )
we need to learn Drools fast (2-3 weeks) and be able to implement rules using JBoss Drools. Which articles, tutorials, books, best practices should we be following ?
Well, the answer is we can't call a Rule from another Rule. Drools matches the Rules with incoming data/facts, and if the data satisfies the Rule condition, it stores the data in an Agenda. It might be possible for the same data or facts to be matched by different rules, so it stores matching facts in an Agenda.
Drools is Rule Engine or a Production Rule System that uses the rule-based approach to implement and Expert System. Expert Systems are knowledge-based systems that use knowledge representation to process acquired knowledge into a knowledge base that can be used for reasoning.
What joekutner said + a recent 1hr Fosdem "introduction" video. Despite the comments, it's actually really good, but what you have to have is the slides, so that you can follow through in a sane fashion. Here is a link to the Youtube-Video.
It is fast, you'll have to pause, but I found that I was learning stuff at the 25 minute mark after having done a few days playing and reading drools docs.
I can't emphasise how good this was helping me get the "feel" of drools, and just how to use the power.
The Drools Documentation is really good:
http://www.jboss.org/drools/documentation.html
There are two books from PackIt publishing that aren't bad:
https://www.packtpub.com/drools-jboss-rules-5-0-developers-guide/book
https://www.packtpub.com/jboss-drools-business-rules/book
Here's a good article that discusses rule-engines in general:
http://www.infoq.com/articles/Rule-Engines
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With