I am looking for a lightweight lib which is able to parse and evaluate trivial conditions on java objects in order to implement string filters on objects
Example :
Interpreting a string like :
myObject.intField > 0 && myObject.booleanField
with myObject as param.
Some thing like Janino : http://docs.codehaus.org/plugins/servlet/mobile#content/view/17273 But more Bean oriented (no need to use getters)
Could code my own parser but prefer avoid reimplementing the wheel.
Java (at least JavaEE 6) has an Expression Language built-in.