My experiments with technology

Entries from May 2009

JBoss Drools – Business Rules Management System/Guvnor

May 22, 2009 · Leave a Comment

I was playing around with the web interface of the JBoss Drools engine called Business Rules Management System or BRMS till version 4.0.7. In the subsequent versions i.e 5.0 it is called Guvnor. While trying to validate the newly defined business rule, I got the following error:

java.lang.ClassFormatError: Incompatible magic value 1885430635 in class file

A quick search on the internet revealed the answer. Please ensure that your java class jar files contain only .class files and not source code. Weird yes, but that’s how it is!

Categories: JBoss · JBoss Drools

JBoss Drools – Defining business rules

May 20, 2009 · 2 Comments

The last two articles focused on some of the current projects that I was working on. So after kick starting Drools(4.0.7), I lost track and wrote some posts on JBoss clustering. Interesting as they were, I want to get back on defining business rules using JBoss Drools. I am just taking up from where I left off in my last Drools post. In my last post, I covered how Drools can use MS Excel spreadsheets to implement decision tables. Now I am going to talk about implementing business rules using a DRL.

The last two articles focused on some of the current projects that I was working on. So after kick starting Drools(4.0.7), I lost track and wrote some posts on JBoss clustering. Interesting as they were, I want to get back on defining business rules using JBoss Drools. I am just taking up from where I left off in my last Drools post. In my last post, I covered how Drools can use MS Excel spreadsheets to implement decision tables. Now I am going to talk about implementing business rules using a DRL. You could treat this as a tutorial.

(more…)

Categories: Drools · tutorial