Java and Ruby integration

Hi all,

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

Thanks.

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?

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 Fri, Apr 8, 2011 at 2:38 PM, Diego Nakamashi
[email protected]wrote:

Hi all,

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

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

http://on-ruby.blogspot.com/2011/03/ruby-and-protocol-buffers-take-one.html
http://on-ruby.blogspot.com/2011/03/ruby-and-protocol-buffers-take-one-and.html
http://on-ruby.blogspot.com/2011/03/protocol-buffers-bj-nielsens-take.html
http://on-ruby.blogspot.com/2011/04/protocol-buffers-brian-palmers-take.html

JRuby.

Kirk H.

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.jruby.org/

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs