- Drools Tutorial
- Drools - Home
- Drools - Introduction
- Drools - Eclipse Plugin
- Drools - Runtime
- Drools - Create A Drools Program
- Drools - Frequently Used Terms
- Drools - Rules Writing
- Drools - Rules Syntax
- Drools - Sample Drools Program
- Drools - Debugging
- Drools Useful Resources
- Drools - Quick Guide
- Drools - Useful Resources
- Drools - Discussion
Drools - Frequently Used Terms
Rules
The heart of the Rules Engine where you specify conditions (if ‘a’ then ‘b’).
Facts
Facts are the data on which the rules will act upon. From Java perspective, Facts are the POJO (Plain Old Java Object).
Session
A Knowledge Session in Drools is the core component to fire the rules. It is the knowledge session that holds all the rules and other resources. A Knowledge Session is created from the KnowledgeBase.
For the rules engine to work, Facts are inserted into the session and when a condition is met, the subsequent rule gets fired. A Session is of two types −
- Stateless Knowledge Session
- Stateful Knowledge Session
Agenda
It’s a logical concept. The agenda is the logical place where activations are waiting to be fired.
Activations
Activations are the then part of the rule. Activations are placed in the agenda where the appropriate rule is fired.
To Continue Learning Please Login
Login with Google