wood burning stoves
The moose likes Java in General and the fly likes Drools Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Drools" Watch "Drools" New topic


vin Hari
Ranch Hand

Joined: Nov 16, 2006
Posts: 161
Hi Experts,

I have one question , what is Drools, what it is used for my current project needs this ,

and i have no idea about this so can you please send me the links to start for

as i searched in google i did not recieve much information apart from

jboss sight showing the drools so can you please simplify and send some useful links.

Thanks in advance.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15081

Drools on the JBoss website. I knew it was a rules engine, but apparently JBoss added more components to it to do different things.

A rules engine is a program that matches data to a set of rules. Usually you can specify those rules in a kind of mini programming language that is simple enough for non-programmers.

I've once worked on a system in which people could add rules to a table in a database. The rules would be things like "the value of this field is the sum of the values in these fields", or "the value in this field is a percentage of the value in that field", etc. You could use the system to define screens with fields, and rules to define the calculations done between those fields. So by defining the screens and rules you could for example make screens to calculate prices of items, with tax percentages etc.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

I had tried Drools 1 year back and the answer in one line is that it is used to create business rules (mostly used in finance applications).

Similar product is IBM JRules

When I used it, it was deployed on tomcat server and had very simple interface to create various rules.

The tool is so easy to use even the business consultants can create those rules.

Here are some links for you....




But the best way to learn it will be to follow a book, here is one I looked up for you. You may try similar others:



Java Experience
vin Hari
Ranch Hand

Joined: Nov 16, 2006
Posts: 161
Thanks a lot for your inputs.
I agree. Here's the link: http://aspose.com/file-tools
subject: Drools
It's not a secret anymore!