Drools 6.x Decision Table Example

Creating the Project Open Eclipse New -> Maven Project (simple project) Simple Project Group Id: com.skills421.examples.drools Artifact Id: Drools6.xDecisionTableExample Finish Structure pom.xml Facts Fact.java Person.java RuleResponse.java RuleRunner RuleRunnerException.java RuleRunner.java Rules Setup.drl DrinkingRules.xls drinkingrules Main Main.java kmodule.xml kmodule.xml Output

Drools 6.x Basic Example

Creating the Project Open Eclipse New -> Maven Project (simple project) Simple Project Group Id: com.skills421.examples.drools Artifact Id: Drools6.xExample Finish Structure pom.xml Rule Runner src/main/java com.skills421.examples.drools.controller.RuleRunner RuleRunnerException src/main/java com.skills421.examples.drools.exceptions.RuleRunnerException Fact src/main/java com.skills421.examples.drools.facts.Fact RuleResponse src/main/java com.skills421.examples.drools.facts.RuleResponse Person src/main/java com.skills421.examples.drools.facts.Person Rules src/main/resources/com/skills421/examples/drools/people DrinkingRules.drl kmodule.xml src/main/resources/META-INF kmodule.xml Main src/main/java com.skills421.examples.drools.Main Output

Drools6.1 Workbench on JBoss AS7.1.1

Objective In this post we are going to install JBoss AS 7.1.1 and Drools 6.1 Workbench. In subsequent posts we will create and deploy rules, decision tables, and workflows with human interaction. Download JBoss AS 7.1.1 Download JBoss AS 7.1.1.Final from here: http://jbossas.jboss.org/downloads/ Unzip it into your destination folder Start JBoss AS 7.1.1 JBoss AS 7.1.1…