Home » Enterprise Java » JBoss Drools

JBoss Drools

Jboss Drools Facthandle Example

Hello Readers, in this article we will take a look on what is the FactHandle and how this works inside a drools engine implementing a example of this to ilustrate this feautre. Before starting, check the requirements related to technologies and frameworks used to this example below: Maven 3.3.9 Jboss Studio 10.3 Drools Engine 7.0  JDK 1.8.0_71 1. Introduction Before ...

Read More »

Jboss Drools AgendaEventListener Example

Hello Readers, in this article we will take a look on how to use and implement an AgendaEventListener on a drools rule program. Before we start, check the requirements related to technologies and frameworks used to this example below: Maven 3.3.9 Jboss Studio 10.3 Drools Engine 7.0  JDK 1.8.0_71 1. Introduction Before continuing with the AgendaEventListener Example implementation, we need to ...

Read More »

Drools Backward Chaining Example

In this article, we will see a little introduction and example of what is backward chaining and how to implemente it with jboss drools. This example uses the following technologies and frameworks: Maven 3.3.9 Jboss Studio 10.3 Drools Engine 7.0  JDK 1.8.0_71 1. Introduction Backward chaining, is a concept that allows in a graph structure(derivation tree) to get through each ...

Read More »

JBoss BRMS Drools Example

In this article, we will see an example of JBoss BRMS. BRMS is a JBoss Rules based server-side solution for the management, storage, editing and deployment of rules. JBoss BRMS 6 is backed by a GIT based repository, which is very much in line with how the mainstream enterprises are storing and working to deploy their projects. If you want to ...

Read More »

JBoss Drools Guvnor Example

In this article, we will see an example of Drools Guvnor. We use Guvnor as ‘Business Rules Manager’. Guvnor is the name of the web and network related components for managing rules with drools. If you want to more know about Drools Introduction or its setup, read here. This example uses the following frameworks: Maven 3.2.3 Guvnor 5.1.1 1. What is a ...

Read More »

Drools Expert System Example

In this article, we will see an example of Drools Expert system. First, let’s try to understand what is an expert system? An expert system’s goal is to help make a decision or solve a problem. Now to make a proper decision, it relies on are knowledge system and the working memory where we have the data that is to ...

Read More »

Drools Rule Engine Tutorial

Drools is a Rule Engine that uses the rule-based approach to decouple logic from the system. The logic is external to the system in form of rules which when applied to data results into the decision making. A rules engine is a tool for executing business rules. In this article, we will write some business rules for a shopping domain ...

Read More »

Drools Workflow Example

Workflow says exactly what will happen at each stage in the process. As soon as the workflow reaches a step, we will fire the actions associated with it. Ruleflow does something similar but we don’t have any control on the actual rules that may fire as they are selected by the rule engine. A business process or workflow describes the ...

Read More »

Drools Salience Example

In this article we will look into an example of Drools Salience Example. So what is salience and why do we need it? Salience means to be most noticeable and important. We will use salience keyword against a rule to set the priority. Before we start with the example, let’s work on our setup. If you want to more know about Drools ...

Read More »

Drools Decision Table Example

In this article we will look into an example of Drools Decision Tables. So what are Decision Tables? We know rules are defined in a drl file but if you have lots of similar rules with different values you can make use of Drools Decision Tables. Rules that share the same conditions with different parameters can be captured in a ...

Read More »