Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rules engines: develop or open source?

 
William Stafford
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My group is working on the design of a data scrubber utility. This application will basically be making decisions about the validity of data received from contributers on a collaborative project. The validity will be based on rules about the data. For example, if column A is present column B must be greater than zero.

This would be simple to do from scratch but potentially there could be hundreds of rules so I'm wondering if some sort of Java based rules engine would be the best solution for this.

I would like to hear any from anyone with experience doing this sort of thing either in Java or with some sort of rules engine.

Thanks,
-=b
 
Francesco Bianchi
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since Java 6 you have a script engine built in JVM. Googling, some months ago I have found an Open Source implementations of such an engine capable to interpret script written with JavaScript syntax. As long as it is approved and sponsored by Sun itself (if I well remember), it SHOULD be well done.
I cannot assure anything about it...I have never had a look at Java 6 up to now nor to this project.

But if you want.. try have a look here: Project homepage

and here: Sun Article

Maybe this could be a nice solution... many people knows javascript, you don't have to re-invent a new language ex-novo, almost no effort in implementing a parsing/executing engine..

Hope it helps,
Francesco.
 
Amit M Tank
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use Ilog Jrules but I don't think its free.

JRules Site
 
Kaydell Leavitt
Ranch Hand
Posts: 690
Eclipse IDE Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've heard of the rules-based engine and scripting language Jess:

Jess

Jess was developed by Dr. Ernest Hill-Friedman. Check out the book reviews on Amazon.com

Book: "Jess In Action"

Kaydell
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15482
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another open source rules engine: JBoss Rules
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic