Summary

Throughout this chapter, we've acquired a large amount of tools to write very powerful rules. Working memory manipulation, communication with outside of the rule engine through global variables, and control of the flow through groupings will come in handy for different aspects of each specific rule.

The next step is to get everything that we've defined so far working together. Rule engines provide an enormous amount of flexibility by taking care of all the optimizations from a code perspective. In a way, we're here to write all the rules, and let the engine sort them out.

In the next chapter, we will start tuning our runtime environment to control how the rules should be executed, what information is to be logged in, and the rest of the ...

Get Mastering JBoss Drools 6 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.