Java's built in Scripting engine

Java is a great language … you can work your whole career in it and still not know all of it.
Case in point… I tripped across this tonight and had no idea it even existed…

Anyone ever try to use it to script events in their game?

http://docs.oracle.com/javase/6/docs/technotes/guides/scripting/programmer_guide/#helloworld

edited - corrected typos… too late and not enough caffeine