Thanks Charles! I would take a look at it. It'll take something to convince my company to buy this though :).
Thanks, Yogesh ________________________________ From: Charles Girardot <charles.girar...@embl.de> To: users@appfuse.dev.java.net Sent: Wednesday, February 11, 2009 2:15:07 PM Subject: Re: [appfuse-user] Mathematical formula implementation in Java/JEE Hi Yogesh, You might want to check the JEP project at http://www.singularsys.com/jep/ . I haven t used it but I know projects using this for an *apparently* similar problem. Hope this helps Charles On 11 Feb 2009, at 16:50, Yogesh Bhardwaj wrote: > > Hello all, > > This question is not related to AppFuse so please pardon me, but since there > are so many developers from open source community here, just thought of > getting some opinions. We have a business requirement in which the end users > would create mathematical "formulae" through a UI. So in a single > transaction, a user could create a formula, apply it on the transactional > data, and save the formula for future use. The operands in a formula would > be attributes of certain objects, and the operators could potentially go > beyond just simple algebraic operators. An example could look like this: > > if (object.country == "USA") > then output = (object.normalRate * (@someConstant + #someUserInput)) / > object.quantity > else output = (object.exciseRate * @someConstant) / object.quantity > > The "decision-making" behavior of the formula inclines me towards using some > rules engine like JBoss Rules/Drools. Does anyone here know if JBoss Rules > or any other rules engine would fit for a requirement like this, where rules > could be created dynamically through a UI and then saved (file or database) > or users could select a rule among several available ones? > > I would really appreciate any feedback. > > Thanks, > Yogesh > > > --View this message in context: > http://www.nabble.com/Mathematical-formula-implementation-in-Java-JEE-tp21957774s2369p21957774.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > ===================================== Charles Girardot European Molecular Biology Laboratory Email: charles.girar...@embl.de Room 502 Meyerhofstrasse 1 - Postfach 10.2209 69012 Heidelberg, Germany ===================================== --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net