Questions tagged [drools]

Drools is a business-rule management system (BRMS) with a forward-chaining-inference-based rules engine, more correctly known as a production rule system, using an enhanced implementation of the Rete algorithm.

www.jboss.org/drools

The Business Logic integration Platform provides a unified and integrated platform for Rules, Workflow and Event Processing. It's been designed from the ground up so that each aspect is a first-class citizen, with no compromises.

3669 questions
111
votes
5 answers

Pros and cons of Java rules engines

What are the pros and cons to adopting the Java rules engines JESS and Drools? Are there any other players? I understand that Drools is Open Source and JESS is not, but how do they compare in other areas like ease of use, performance, level of…
brabster
  • 39,706
  • 25
  • 137
  • 182
48
votes
4 answers

Forward Chaining vs Backward Chaining

What is one good for that the other's not in practice? I understand the theory of what they do, but what are their limitations and capabilities in practical use? I'm considering Drools vs a java prolog for a new AI project, but open to other…
gtrak
  • 5,385
  • 3
  • 30
  • 41
46
votes
3 answers

how to learn Drools or another rule engine fast

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…
anjanb
  • 11,266
  • 16
  • 69
  • 99
34
votes
3 answers

Why should i use Drools?

I am no Drools expert. I have some familiarity with it though, by experimenting with it. I am unable to appreciate, why would i need it. My Typical Applications are Business Web Applications. Yes they do have some amount of Rules. But those are…
Jasper
  • 7,524
  • 24
  • 87
  • 131
33
votes
1 answer

How to install Drools plugin in Eclipse Indigo IDE

How to install the drools plugin in eclipse and how to use it.Anyone has an idea.
user1434746
  • 513
  • 3
  • 7
  • 15
24
votes
7 answers

Rules engine for .NET

We have a business requirement to let power users edit rules for insurance rates and enrollments. We need a web ui that lets them say "this product is only for people <55 unless they are from Texas and own a poodle" or whatever. Edit for…
Code Silverback
  • 3,134
  • 5
  • 29
  • 39
24
votes
1 answer

Junit tests not working with Drools 5.4.0.Final and JDK 8

I recently started upgrading my application JDK version from jdk1.7.0_121_x64 to jdk1.8.0_202_x64. I have some legacy code using Drools 5.4.0.Final. This code is working with JDK version jdk1.7.0_121_x64 without any issue. Maven dependencies…
user613114
  • 2,459
  • 10
  • 40
  • 68
22
votes
3 answers

Rule Engine in JavaScript

Is there any Rule engine in JavaScript? The question is in this context: Consider a web application having a form that users fill up. As a user fills up each field and proceeds to the next, business logic written in JavaScript controls the…
Pradyumna
  • 1,533
  • 3
  • 20
  • 34
21
votes
4 answers

Drools vs JBPM ? differences, pros and cons

I'm looking for a good rule engine. I've seen it exists two good projects : JBPM and Drools. I don't really understand differences between the two and I don't know what is the ideal tool to use. Please could you provide me more information and your…
Jerome Cance
  • 7,769
  • 11
  • 49
  • 103
19
votes
2 answers

Drools.NET vs Windows Workflow Foundation (WF)

I am currently in the process of searching for a rules engine that works in .NET. Our logic is pretty simple, +, -, *, /, and, or, basic order of operations stuff. However we are going to need to store this information in the database and then…
Nick Berardi
  • 52,504
  • 14
  • 109
  • 135
19
votes
5 answers

Why isn't Drools working with Java 8?

I just installed the final version of Java 8. When I try to build my project with Maven, many tests fail if I use Java 8, but pass fine with Java 7. I've tried running it via the command line with JAVA_HOME set to C:\Program Files\Java\jdk1.8.0…
dhalsim2
  • 875
  • 2
  • 11
  • 34
18
votes
5 answers

Drools- how to find out which all rules were matched?

I've one .DRL file which has say 10 rules. Once I insert a fact, some rules may be matched- how do I find out which rules were matched programmatically?
gauravphoenix
  • 2,386
  • 3
  • 22
  • 32
17
votes
1 answer

Using Optaplanner to solve VRPTWPD

I'm new to optaplanner, and am hoping to use it to solve the VRPTW problem with pickups and deliveries (VRPTWPD). I started by taking the VRPTW code from the examples repo. I am trying to add to it to solve my problem. However, I'm unable to return…
August Flanagan
  • 818
  • 14
  • 26
16
votes
3 answers

Drools - Ability to define rules at runtime?

It is possible to define rules dynamically completely at runtime ? Also change the ruleset at runtime. For example, at time = t_1 the ruleset is { R1, R2, R3 } at time = t_2 the ruleset is { R1, R3, R4 } ..... R1, R2 are rules that are…
Soumya Simanta
  • 10,777
  • 23
  • 95
  • 153
16
votes
9 answers

Using Drools in a heavy batch process

We used Drools as part of a solution to act as a sort of filter in a very intense processing application, maybe running up to 100 rules on 500,000 + working memory objects. turns out that it is extremely slow. anybody else have any experience using…
bmw0128
  • 1,545
  • 6
  • 24
  • 30
1
2 3
99 100