• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Rules engines: develop or open source?

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can use Ilog Jrules but I don't think its free.

JRules Site
 
Ranch Hand
Posts: 694
Mac OS X Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another open source rules engine: JBoss Rules
 
reply
    Bookmark Topic Watch Topic
  • New Topic