Business engine for gwt

27 views
Skip to first unread message

Thomas Lefort

unread,
Dec 20, 2012, 3:51:56 AM12/20/12
to google-we...@googlegroups.com
Hi,

I need some authorized users to be able to define a set of rules through my web application to be used by other users, eg price, automatic selection and configuration of objects, etc... I could do with a small lightweight rule based engine that could run on both the client and server side, obviously in Java. What I need really is simple - if then else - statements, logical and arithmetic operators, and nothing more. The rules will input and output either numbers, dates, strings or arrays of those. I don't necessarily need fancy interfaces, could be text based for instance, and I'd like the rules to be sent back and forth to the server as strings, eg "function ruleA(a, b, c) if (a + b + c) < 100 then return [1000, 10]". I don't need any mapping or updating of my database, it's really just to provide information to the user - running the code rules from the web application or from the server.

I have looked at various solutions and I am now focusing on MVEL (https://github.com/mikebrock/mvel) but also keeping an eye on making my own one.

Before I go too deep into all this, I'd like to know if someone has been working on a similar topic in the list and if they had any recommendations for me?

Thanks,

Thomas

Reply all
Reply to author
Forward
0 new messages