Ruby-Java Bridge

Hi, all. I’m working on a Ruby project that will require integration
with Java libraries. Of course my first thought was to use JRuby, but a
colleague mentioned the Ruby-Java Bridge
(http://rubyforge.org/projects/rjb/) as a possible alternative.

A very brief perusal led me to believe that it’s a much more limited
solution, and nowhere near as comprehensive as JRuby for Java
integration.

Does anyone have any information/experience/advice about this?

Thanks,
Keith

It does work, but it is certainly more limited. The bridging is
expensive, and it does not do as nice a job as JRuby when calling
overloaded methods, converting arguments, and so on.

If you can’t use JRuby, It’s certainly an option…but I’d consider it
an option of last resort.

  • Charlie