1. Introduction to Drools
2. Environment Setup
3. Programming with Drools
In this series of posts, the reader will be introduced to the world of Drools. This will serve as a starting point for learners of Drools to take themselves to more advanced levels. The best way to start learning any technology is to start coding and to get a basic program up and running. The aim of this tutorial is to introduce the absolute beginner to the basic concepts of Drools in the easiest way possible.
2. Environment Setup
3. Programming with Drools
In this series of posts, the reader will be introduced to the world of Drools. This will serve as a starting point for learners of Drools to take themselves to more advanced levels. The best way to start learning any technology is to start coding and to get a basic program up and running. The aim of this tutorial is to introduce the absolute beginner to the basic concepts of Drools in the easiest way possible.
Prerequisites: Basic knowledge of JAVA
Background
In traditional Java programming, the business logic is written in Java classes. A business process usually has a well defined flow and various rules associated to it which are coded using if-else conditions.
It is common for these business specific rules to be embedded with other programming logic. As time progresses and requirements change, the code becomes more bulky, unmanageable and hard to debug/understand. Thus the need of a more systematic and personalized approach for handling business rules in an application comes into picture. Enter Rule Engines.
What is a Rule Engine?
A Rule engine is a software component which allows the execution of business rules in a business process management system. The execution of the rules is separated from the rest of the application. Programmers and non programmers like business analysts can make modification to the rules without having to change the source code or recompile the application.
There are various rule engines available in the market. This tutorial will focus on DROOLS -by- JBoss.
What is Drools?
Drools is a Rule engine from JBoss based on the Rete algorithm. It is open source and has an active and growing community.
Background
In traditional Java programming, the business logic is written in Java classes. A business process usually has a well defined flow and various rules associated to it which are coded using if-else conditions.
if(amount_to_withdraw > account_balance) { //Insufficient funds } else if(amount_to_withdraw <= account_balance) { //Funds available (do something) } |
It is common for these business specific rules to be embedded with other programming logic. As time progresses and requirements change, the code becomes more bulky, unmanageable and hard to debug/understand. Thus the need of a more systematic and personalized approach for handling business rules in an application comes into picture. Enter Rule Engines.
What is a Rule Engine?
A Rule engine is a software component which allows the execution of business rules in a business process management system. The execution of the rules is separated from the rest of the application. Programmers and non programmers like business analysts can make modification to the rules without having to change the source code or recompile the application.
There are various rule engines available in the market. This tutorial will focus on DROOLS -by- JBoss.
What is Drools?
Drools is a Rule engine from JBoss based on the Rete algorithm. It is open source and has an active and growing community.
No comments:
Post a Comment