• 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 Engine

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic