- Drools - Debugging
- Drools - Sample Drools Program
- Drools - Rules Syntax
- Drools - Rules Writing
- Drools - Frequently Used Terms
- Drools - Create A Drools Program
- Drools - Runtime
- Drools - Eclipse Plugin
- Drools - Introduction
- Drools - Home
Drools Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
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.
Advertisements