I don't recall if it supports exactly this syntax, but check out the JEP library. Version 2.4 was released under the GPL, so you may be able to use it for free.
JEP is a good Java library, and its 2.4.1 version was GPL.
The Boolean expressions are supported but it does not give direct boolean result.
The results of a boolean expression would be returned to you as a Double object where 1.0 = TRUE and 0.0 is FALSE.
The Boolean Expression Evaluation Example code can be used as a Utility in your application for Boolean expression evaluation. [ September 22, 2008: Message edited by: Sachin Joshi ]
Hi , If i can understand you correctly Your system always get the expression at the Run time and the values to be replaced in the expression also comes in run time. Recently i was also in search of looking for a similar framework approach. I found cayenne framework..you can use it very easily.Reply me back if you have any queries.
mohan, can you provide a link to this "cayenne" framework? The only Java project with that name I can find is an ORM tool, and I don't think that would be applicable here.