BeanShell is out and [offers full Java compatibility]. Check this out:
BeanShell scripted classes are fully typed and appear to outside Java code and
via reflective inspection as ordinary classes. However their implementation is fully dynamic and they may include arbitrary BeanShell scripts in their bodies, methods, and constructors. Users may now freely mix loose, unstructured BeanShell scripts, method closures, and full scripted classes.
: http://www.beanshell.org/bsh20announce.txt “”