JRuby approach