Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rules Engine

 
Ash Kondhalkar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In our application we have some formulae to be used. But we don't want this code to be inside java because these formulae are subject to change with time. So we want to externalize this code.
I heard that we need to use some Rules engine for the same. My question is will Drools engine meet my requirement?
Kindly reply at the earliest.

Thanks in anticipation
Ashwin
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rules based engines are great for what they do. Meaning if you have say a product that has different configurations and certain parts won't work with other parts, and others must have other parts, and these rules change with new products, or changes in time, then a Rules based engine is what you really want. That is an example of a great reason to use a Rules based engine. You can try Jess, or JRules for JBoss to find the one that you like the best, both are really good.

Mark
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If these are purely mathematical formulas (as opposed to logical rules which Mark talked about), you might look into packages like JEP which interpret Strings as formulas and calculate their value based on a set of variables.
[ June 22, 2006: Message edited by: Ulf Dittmer ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic