From: vruz Date: 2005-04-14T10:50:11+09:00 Subject: Re: Ruby Java Bridge: Are there any? > Hi. Quick question. I've install a database like thingy (kowari) written > in Java that I want to communicate with from a Ruby: send queries get > answers. What's a good way to communicate from a ruby process to Java > process, SOAP? RMI? Corba? A socket? Are there any wrappers that let me > go from ruby straight to the JVM presumably via the java native call > interface? It's all on the same machine, I need only to communicate from > ruby to the Java Client interface that comes with my database thingy > (kowari). The data to be passed back and forth is all strings. The > client interface is a Java Bean. Does that open up any possibilities? SOAP4R comes standard with Ruby 1.8.x (for a brief introduction have a look at: http://www.simplesiteuk.com) I haven't heard of any RMI lib freely available in native Ruby There's also RJNI: Java binding for Ruby through JNI http://thekode.net/ruby/rjni/index.html (though unsupported at the moment, would be interesting for someone to pick it up) You may consider JRuby can be a good option for some projects: http://jruby.sourceforge.net/ There are some other JNI bindings available, can't recall the names now, someone will probably help adding to the list in this thread. cheers, vruz