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.

https://www.drools.org/

Drools is a Business Rules Management System (BRMS) solution. It provides a core Business Rules Engine (BRE), a web authoring and rules management application (Drools Workbench), full runtime support for Decision Model and Notation (DMN) models at Conformance level 3 and an Eclipse IDE plugin for core development.

4035 questions
119
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
  • 42,504
  • 27
  • 146
  • 186
47
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,598
  • 4
  • 32
  • 41
47
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
  • 12,999
  • 18
  • 77
  • 106
37
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
  • 8,440
  • 31
  • 92
  • 133
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
  • 533
  • 3
  • 7
  • 15
26
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,204
  • 5
  • 32
  • 39
25
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
  • 8,103
  • 12
  • 53
  • 106
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,731
  • 11
  • 47
  • 73
23
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,583
  • 4
  • 19
  • 34
22
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
  • 886
  • 14
  • 27
21
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,814
  • 3
  • 25
  • 33
20
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
  • 11,523
  • 24
  • 106
  • 161
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
  • 54,393
  • 15
  • 113
  • 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
  • 936
  • 2
  • 12
  • 35
17
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,625
  • 6
  • 25
  • 31
1
2 3
99 100