Is there something like python\'s interactive REPL mode, but for Java? So that I can, for example, type InetAddress.getAllByName( localHostName ) in a window, a
InetAddress.getAllByName( localHostName )
you can script java using jruby http://kenai.com/projects/jruby/pages/CallingJavaFromJRuby