Drools

Drools is a Business Logic integration Platform (BliP). It is written in Java. It is an open source project that is backed by JBoss and Red Hat, Inc. It is licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html). This book will focus on Version 5.5 of this platform that was released in November 2012.

Work on Drools (the rule engine) began in 2001. From its beginning Drools underwent many changes. Drools 1.0 started with a brute force linear search. It was then rewritten in Version 2.0, which was based on the Rete algorithm. The Rete algorithm boosted Drools' performance. Rules were written mainly in XML. The next Version 3.0 introduced a new .drl format. This is a domain-specific language specially crafted for writing rules. It proved to be a great success and it became the main format for writing rules. Version 4.0 of the rule engine had some major performance improvements together with first release of Business Rules Management System (BRMS). This formed the base for the next big release 5.0, where Drools became a BliP. The platform consists of four main modules:

  • Drools Expert: This is a rule engine itself.
  • Drools Fusion: This is a complex event processing (CEP) module. It is will be covered in Chapter 7, Complex Event Processing.
  • jBPM: Workflow combines rules and processes together. It will be introduced at the end of Chapter 5, Creating Human-readable Rules and then fully covered in Chapter 8, Defining Processes with jBPM.
  • Drools Guvnor: This is a BRMS. It won't be covered in this book except for testing and rule analysis in Chapter 10, Testing.

Drools has several optional modules. For example, OptaPlanner for solving planning problems or Drools Chance that adds uncertainty support. Another very important part of Drools is its Eclipse plugin.

Drools has a very active and friendly community. It is growing with every year. You can get in touch by visiting the Drools blog, wiki, or the mailing lists. For more information please visit the Drools website at http://www.jboss.org/drools/.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.163.58