I know eval is \"evil\", but I\'m using it in a way that the user can\'t ever abuse it.
Let\'s say I\'ve got a string \"new Integer(5)\". I want to do something suc
You can use Java Scripting API. Default language is JavaScript, but you can plug in any language. it would require java 1.6 though.