Drools with Spring Boot

In this tutorial, we will learn how to integrate the Drools rule engine and implement a simple rule engine service using spring boot. We will use the DRL rules by creating the .drl file inside…

Drools – Spring Integration

In this tutorial, we will create a Spring application and integrate it with JBoss Drools. As with the previous Drools examples, we will create an application for a mobile shop to calculate discounts based on…

Drools – salience and activation-group attributes

In previous chapter we implemented a drools project to understand various attributes like update and no-loop. In this tutorial we will try to understand the execution control statements in salience and activation-group. If your KieBase…

Drools – update statement and no-loop attributes

In previous chapter we implemented a drools project to understand backward chaining. In this tutorial we will try to understand the attributes update statement and no-loop. 1) Create Example For our example here we will use the example…

Drools – Backward Chaining

In previous chapter we implemented a drools project to understand difference between Stateful and Stateless session. In this tutorial we will try to understand what is Backward chaining using example. What is Forward and Backward chaining? Chaining…

Drools – Stateful vs Stateless Knowledge Session

In previous chapter we implemented a drools project using KieSession to get stateful session. In this tutorial we will try to understand the difference between drools stateful and stateless session using example. Stateless session that forms the…

Drools – Stateful Knowledge Session using KieSession

In previous chapter we implemented a simple drools project to execute simple rule. From Drools 6.0 onwards a new approach is used to create a Knowledge Base and a Knowledge Session. Knowledge base is an…