From: Kent Dahl Date: 2003-09-18T00:20:09+09:00 Subject: Re: Java/Ruby communication Nigel Gilbert wrote: > I am planning to write a Java program and and a Ruby program and have > them intercommunicate, with a bidirectional flow of fairly small amounts > of data from one to to the other and back. I know that I could achieve > this by running the ruby program in JRuby, but it would not run fast > enough (a crude benchmark implies that JRuby executes Ruby about an > order of magnitude slower than I would get using Ruby itself). > > The communication could, I suppose, be done with pipes or TCP or even by > reading and writing files. Does anyone have experience of doing this, > and tips or code snippets they could share? XML-RPC was fairly easy to set up on both the Java and Ruby end when I tried it a year ago. Check out xmlrpc4r on RAA. -- (\[ Kent Dahl ]/)_ _~_ _____[ http://www.pvv.org/~kentda/ ]_____/~ ))\_student_/(( \__d L b__/ (pre-) Master of Science in Technology ) ( \__\_�|�_/__/ ) _)Industrial economics and technological management( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)