Rule Engines

A Simple Decision Table in Drools 6.0

This post shows how to create a simple decision tool in Drools 6.0. Create a new Simple Maven Project Create a new Maven Project and check the Simple Project box. Set the Group Id and Artifact Id as follows: Group Id: com.skills421.examples.drools Artifact Id: DecisionTable Edit the pom.xml [code language=”xml”] [/code] pom.xml

Install JBPM5

Download JBPM5 from http://www.jbpm.org Click on download Click on Older Community Releases This will redirect you to http://sourceforge.net/projects/jbpm/files/ Click JBPM5, this will redirect you to http://sourceforge.net/projects/jbpm/files/jBPM%205/ Click on JBPM5.4 Final and download the installer zip file to your downloads directory Move the downloaded zip to the destination folder and expand it Open a cmd shell …

Install JBPM5 Read More »

Install JBPM5

Open http://www.jbpm.org/download/download.html Select Old Community Releases This will redirect you to: http://sourceforge.net/projects/jbpm/files/ Select JBPM5 Select JBPM-5.4.0.Final Download JBPM-5.4.0.Final-Installer-Full.zip    

Drools 5.6 and Intellij Idea

Download Intellij Idea Community Edition from https://www.jetbrains.com/idea/download/ Install Intellji by double clicking the downloaded file and following the instructions Open Intellij Create New Project New Project SDK Navigate to the latest version of Java.  On a Mac that is currently /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk next Group Id: com.skills421.examples.drools ArtifactId: WritingRules Next Project Name: WritingRules Default Pom looks like this: [code language=”xml”] …

Drools 5.6 and Intellij Idea Read More »

Drools: Decision Tables and MVEL – Quirk? Feature? Consequence?

drinkingrules I had a very interesting experience today with Drools Decision Tables and MVEL. My Decision Table has a consequence that refers to $person.name – using MVEL. It compiled, it ran and it worked. But, I had a setup.drl File in the same rule package as the Decision Table, and in that setup.drl I set …

Drools: Decision Tables and MVEL – Quirk? Feature? Consequence? Read More »