Chapter 1. Expert: The Rule Engine

In this chapter, we will cover:

  • Declaring facts in the engine

  • Declaring facts using XML

  • Adding logging to view rules execution behavior

  • Using timer-based rules

  • Implementing calendar-based rules

  • Monitoring query changes in real time


Drools Expert can be considered the core of the Drools project and is used to specify, maintain, and execute your business rules. You should already know it, or at least that is expected if you are reading this cookbook. If you don't know it, then before going forward with this book I would recommend that you read Drools JBoss Rules 5.0 Developer's Guide written by Michal Bali. This book will guide you to discover the power of the main Drools modules with guided examples that ...

Get Drools Developer's Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.