View RSS Feed


Drools business rule engine tutorials.

  1. Drools Components

    by , 03-04-2012 at 10:57 AM
    1. Rules – Where conditions are specified (If a then b)
    2. Facts – Simple objects (POJOs). E.g, a Bank Account fact consists of an account number, someone’s id and balance.
    3. Knowledge Base –is where rules are built and loaded into a structure that gets implemented by the Rete algorithm.
    4. Session – Here facts are placed. Facts are inserted into a session. A session can be State less or State full. Facts in the statefull shall be present in a constant rule alignment once ...
    Drools Rules
  2. How is JBoss Drools is made up

    by , 03-04-2012 at 10:54 AM
    There are 2 main parts of Drools:

    Authoring & Runtime

    Creation Rules files (.DRL) are involved in authoring process. They consists of rules that are being fed to a parser. Correct syntax of rules is checked by parser which creates intermediate structure so that to describe certain rules. Then it is passed on to Package Builder that creates the packages. After this, any code generation as well as compilation is undertaken that is essential to create package.
    Tags: jboss drools Add / Edit Tags
    Drools Rules
  3. Why using a Rule Engine ?

    by , 03-04-2012 at 10:53 AM
    Rule systems are able to solve hard problems by providing the detail of the arrival of the solution and also why every decision was been taken along the way.

    Major benefits of Rule Engine are:

    Logic & Data Separation
    To break down the domain objects from business rules could make it possible to easily maintain the application. This is possible because it may shield from the future alterations.

    Speed & Scalability
    Several times, “if” ...
    Tags: rule engine Add / Edit Tags
    Rule Engine
  4. Drools Components and Terminology

    by , 03-04-2012 at 10:51 AM
    Objects used by the Drools are market out by the rules and patterns which are responsible for invoking the certain actions:

    • Drool objects are considered as the Java objects. They are usually presented by the XML schemas or instances of the Java classes.
    • A patter being a coded expression is involved in the manipulation of 1 or more than 1 objects so that to create a pattern for making, adapting behavior, according to the designed logic.
    • Working Memory drools stores its objects
    Drools Rules
  5. Advantages of the Drools rule engine

    by , 03-04-2012 at 10:48 AM
    Drools rule engine offers these advantages.
    • It separates conditions and applications

    • They are present in separated files
    • Different people groups can modify them
    • After changing a rule, recompilation is not needed. Redeployment is also not needed in the whole application.
    • To control an application’s flow, put rules at one place
    • All the complexed statements can be replaced by rules in an easier or understandable way

    • Rule language is not tough to be learnt.
    • An
  6. Drools Overview

    by , 03-04-2012 at 10:46 AM
    Drools, BRMS i.e. business rule management system consists of a forward chaining inference based rule engine. Correctly, it is called production rule system which uses enhanced Rete algorithm implementation.
    For its business rule engine as well as its enterprise framework, Drools provides support to JSR-94 standard. This is done for maintenance, construction & enforcement of organization’s business policies, services or applications.

    Pluggable language implementations are ...
    Tags: drools Add / Edit Tags