Drools

Mock Drools ObjectFactory, KieSession and StatelessKieSession using Junit

This tutorial example will show you how to mock ObjectFactory<KieSession>, KieSession and KieStatelessSession using Junit. KieSession is the most common way to interact with the engine in Drools. A KieSession allows the application to establish an iterative conversation with the engine, where the state of the session is kept across invocations. The reasoning process may […]

Spring Drools Integration Example

This tutorial is about Spring drools integration example and will show you how to define business rules in drools (.drl) file that could be understood by non-technical people as well. What is Drools? Drools is a business rule management system with a forward-chaining and backward-chaining inference based rules engine, allowing fast and reliable evaluation of […]

Scroll to top