Java and Ruby integration

Hi all,

What is the better way to integrate java and ruby?
WebServices?
JMS?

Thanks.

···

--
Posted via http://www.ruby-forum.com/.

Define "integrate Java and Ruby", please. Are you talking about writing
Ruby code that can make use of Java libraries or vice versa? Are you
talking about writing Ruby code that interacts with Java code or vice
versa? Are you talking about something else?

The answer to the first interpretation I suggested (writing Ruby code
that can make use of Java libraries) is pretty simple, as I understand
things: use JRuby.

···

On Sat, Apr 09, 2011 at 05:38:27AM +0900, Diego Nakamashi wrote:

Hi all,

What is the better way to integrate java and ruby?
WebServices?
JMS?

--
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

You may want to take a look at protocol buffers. Pat Eyler has been blogging
about it recently.

···

On Fri, Apr 8, 2011 at 2:38 PM, Diego Nakamashi <diegonakamashi@gmail.com>wrote:

Hi all,

What is the better way to integrate java and ruby?
WebServices?
JMS?

JRuby.

Kirk Haines

···

On Apr 8, 2011 3:39 PM, "Diego Nakamashi" <diegonakamashi@gmail.com> wrote:

Hi all,

What is the better way to integrate java and ruby?
WebServices?
JMS?

Thanks.

--
Posted via http://www.ruby-forum.com/\.

Without knowing more about what level of integration you're trying to get,
JRuby is the best answer, since it can do quite a bit without having to step
outside through another layer:

<http://www.amazon.com/Using-JRuby-Bringing-Ruby-Facets/dp/1934356654/ref=sr_1_1?ie=UTF8&qid=1302298037&sr=8-1&gt;
-Nick Klauer

···

On Fri, Apr 8, 2011 at 15:38, Diego Nakamashi <diegonakamashi@gmail.com>wrote:

Hi all,

What is the better way to integrate java and ruby?
WebServices?
JMS?

Thanks.

--
Posted via http://www.ruby-forum.com/\.