David Corbin
4/13/2005 12:05:00 PM
On Wednesday 13 April 2005 12:32 am, Richard Cole wrote:
> 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?
>
> regards,
>
> Richard.
Depending on the application, you might consider JRuby. (A ruby implementation
in Java that allows direct calls to Java objects). There are, however,
definately applications for which it is NOT the solution at this point in
it's life.