aspose file tools*
The moose likes JBoss/WildFly and the fly likes Rules Engine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Rules Engine" Watch "Rules Engine" New topic
Author

Rules Engine

Ash Kondhalkar
Ranch Hand

Joined: Jun 14, 2006
Posts: 43
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

Joined: Feb 05, 2001
Posts: 17257
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42292
    
  64
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 ]

Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Rules Engine