Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to learn Drools or another rule engine fast [closed]

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 ?

like image 399
anjanb Avatar asked Apr 09 '10 10:04

anjanb


People also ask

How do you call one rule from another rule in Drools?

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.

What is the use of Drools Rule Engine?

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.


2 Answers

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.

like image 164
Stephen Avatar answered Sep 28 '22 19:09

Stephen


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

like image 44
codefinger Avatar answered Sep 28 '22 21:09

codefinger