Chapter 5. Understanding KIE Sessions

So far, we have covered what Kie Sessions are and how to create them and interact with them. In this chapter, we are going to dive deeper into some of the advanced configuration options and components available in Drools 6, when configuring and defining a Kie Session.

Before going deeper though, we are going to cover the two flavors of Kie Sessions that are present in Drools: stateless and stateful. The type of Kie Session that we choose for our applications has its advantages and disadvantages, which will eventually determine the way we interact with them—whether it's storing information between calls or satisfying a single use case for our business rules.

Once we have a better understanding of the different ...

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.