Drools

From Wikipedia, the free encyclopedia

Jump to: navigation, search
Drools
Developed by Red Hat
Written in Java
Operating system Cross-platform
Type rules engine
License ASL 2
Website http://www.jboss.org/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.

Drools is based on the JSR-94 standard for business rules engine and enterprise framework for the construction, maintenance, and enforcement of business policies in an organization, application, or service.

Contents

[edit] History

The Drools Project was started by Bob McWhirter in 2001 and registered at SourceForge. Drools 1.0 was never released as the limitations of a brute force linear search approach were soon realised and work started on Drools 2.0, which was loosely based on the Rete algorithm, and the project was moved to Codehaus. During the 2.0 development cycle at Codehaus Mark Proctor became the project lead and moved the project to a final 2.0 release. At this point the project had become the leading Java Open Source Rule engine with a strong community and demand had started for commercial services. In October 2005 Drools was federated into JBoss as part of their JEMS offering and rebranded JBoss Rules, in 2006 JBoss itself was acquired by Red Hat. With financial backing from JBoss the JBoss Rules rewrite was possible with a full and enhanced Rete implementation with GUI tooling. Mid 2007 the Drools name was reclaimed since after two years people were still predominantly calling it Drools and having to refer to it as "Drools aka JBoss Rules", or "Drools (JBoss Rules)" was confusing. For the meantime the product is still also called JBoss Rules.

The current version of JBoss Rules is 4.0.7, which is not backwards compatible with previous versions.

[edit] Drools 5

The next version, Drools 5, is under development with the goal to address CEP.[1] The GA version of Drools 5 is expected to be released by November, 2008.

[edit] Technology

Drools is a Rules engine implementation based on Charles Forgy's Rete algorithm tailored for the Java language. Adapting Rete to an object-oriented interface allows for more natural expression of business rules with regards to business objects. Drools is written in Java, but able to run on Java and .NET.

Drools is designed to allow pluggeable language implementations. Currently rules can be written in Java, MVEL, Python and Groovy. Drools also provides for Declarative programming and is flexible enough to match the semantics of the problem domain with Domain Specific Languages (DSL) via XML using a Schema defined for the problem domain. DSLs consist of XML elements and attributes that represent the problem domain.

[edit] JBoss Rules

JBoss Rules is a reasoning engine that includes a forward chaining rule engine based on Drools. JBoss Rules is the productised version of Drools; this means it comes with support that will last several years for that particular branch, with bug/essential feature back ports. For a time the Drools name was dropped in an attempt to fully establish the JBoss Rules brand as both the project and the product; however, two years later, the community was mostly still calling it Drools, so the name was reclaimed by the community for the project. The product name remains JBoss Rules.

[edit] External links

[edit] References

Personal tools
Languages