Rubeus provides you an easy access to Java objects from Ruby scripts on JRuby