Chapter 11. Looking under the Cover

In the previous chapters, we've treated the rule engine as a 'black box'. We've described what goes in and what comes out, but not what happens 'under the covers'. In this chapter, we open the box and explain how a rule engine works. We demonstrate how it is a faster and easier-to-maintain solution than traditional coding methods. We'll also introduce debugging and other ways of seeing what is going on inside the rule engine in real time, as it happens.

In this chapter, we will cover the following topics:

  • Rule engine concepts

  • Logging

  • Rete

  • Debugging rules

Rule engine concepts

To understand what we're seeing when we look inside the rule engine, we first need to understand a couple of rule engine concepts, including a ...

Get JBoss Drools Business Rules now with O’Reilly online learning.

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