Summary

In this chapter, we covered the basics to start a Drools project from scratch. This is extremely important, therefore, you can get started with a very basic project that uses Drools. All the other examples in the book are using this structure, which is also recommended as a way of working for your own projects. We have created our first rule, analyzed the basics of the execution, and tested it using JUnit. The section about CDI introduced how Drools 6 can be used in CDI-enabled contexts, leveraging all the integration provided by the framework.

In the next chapter, we are going to look at the KieContainer, KieServices, and KieSession and how they work internally. We will also analyze the rules-execution flow in detail so that we can understand ...

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.