CORBA for Ruby?

Hi,

a Ruby newbie (me) wonders: are there any CORBA bindings (libraries) for Ruby?

If so, where could I obtain them?

Btw, Ruby is really cool, it might even make me ditch Python.

TIA,

RCS

RCS wrote:

a Ruby newbie (me) wonders: are there any CORBA bindings (libraries) for Ruby?

If so, where could I obtain them?

Ummm .... on RAA (Ruby Application Archive):

http://raa.ruby-lang.org/search.rhtml?search=CORBA

The projects are pretty old though ... do not know if it will work anymore for you.

Btw, Ruby is really cool, it might even make me ditch Python.

Welcome !

TIA,

RCS

-- shanko

RCS ha scritto:

Hi,

a Ruby newbie (me) wonders: are there any CORBA bindings (libraries) for Ruby?

If so, where could I obtain them?

Btw, Ruby is really cool, it might even make me ditch Python.

people already talked about DRb.. I'll just add that Drb does not only supports remote method invocation, but it even comes with an implementation of Linda TupleSpace (Rinda) and with a jini-like system (automatic service/clients discovery, named Rinda::Ring)

Shashank Date wrote:

The projects are pretty old though ... do not know if it will work anymore for you.

Oops, they are old alright! So what do the contemporary Ruby programmer do when distributed objects is the order of the day?

RCS

Thank you for the info, all!

I'll look into Drb, hope it's as efficient and scalable as CORBA.

RCS

drb (included in the Standard Lib) is probably a little more The Ruby Way.

Hope that helps.

James Edward Gray II

···

On Nov 27, 2004, at 8:02 PM, RCS wrote:

Shashank Date wrote:

The projects are pretty old though ... do not know if it will work anymore for you.

Oops, they are old alright! So what do the contemporary Ruby programmer do when distributed objects is the order of the day?

Mmmhhh... maybe Distributed Ruby (DRb)?
It comes with your Ruby installation.

Regards,
Ed

···

On Sun, 28 Nov 2004 11:02:53 +0900, RCS <rcs333@online.no> wrote:

Shashank Date wrote:

> The projects are pretty old though ... do not know if it will work
> anymore for you.

Oops, they are old alright! So what do the contemporary Ruby programmer
do when distributed objects is the order of the day?

--
The downside of being better than everyone else is that people tend to
assume you're pretentious.

Perhaps ICE bindings for Ruby could also be useful? (Faster than CORBA
apparently).

Leon

···

On Sun, 28 Nov 2004 23:47:51 +0900, RCS <rcs333@online.no> wrote:

Thank you for the info, all!

I'll look into Drb, hope it's as efficient and scalable as CORBA.

Corba is pretty ugly, so we do our best to avoid it whenever possible.
There are other solutions for Ruby that are more idiomatic.

However, at work we use Corba and need to interface our ruby scripts
with our C++ applications. Last I checked, rinn only supported UIOP and
not IIOP, so it was unusable between multiple machines. Instead of
taking the time to write real Corba bindings, we decided to write C++
extensions that wrap the Corba calls and are callable from Ruby.

We originally wrapped the extensions using SWIG, but decided that was
more trouble than it was worth (it doesn't provide a fine-grained enough
interface for creating types -- something we've found particularly
useful with enumerated types). We later wrote our own library similar
to boost::python called excruby, which we currently use today.

One idea we've had to make things a little easier is to write a C++
interface to the TAO interface repository and the dynamic invocation
interface (DII). This would allow Corba wrappers to be dynamically
generated, which would make the actual calls using DII (so the library
wouldn't actually have to speak Corba). Finding/making time for such a
project is difficult, though.

Paul

···

On Sun, Nov 28, 2004 at 11:02:53AM +0900, RCS wrote:

Oops, they are old alright! So what do the contemporary Ruby
programmer do when distributed objects is the order of the day?

James Edward Gray II wrote:

···

On Nov 27, 2004, at 8:02 PM, RCS wrote:

Shashank Date wrote:

The projects are pretty old though ... do not know if it will work anymore for you.

Oops, they are old alright! So what do the contemporary Ruby programmer do when distributed objects is the order of the day?

drb (included in the Standard Lib) is probably a little more The Ruby Way.

If not all parties are Ruby-based, Ruby also has nice SOAP and XML-RPC libs, too.

http://www.ruby-doc.org/stdlib/libdoc/soap/rdoc/index.html
http://www.ruby-doc.org/stdlib/libdoc/xmlrpc/rdoc/index.html

James

James Britt wrote:

James Edward Gray II wrote:

Shashank Date wrote:

The projects are pretty old though ... do not know if it will work anymore for you.

Oops, they are old alright! So what do the contemporary Ruby programmer do when distributed objects is the order of the day?

drb (included in the Standard Lib) is probably a little more The Ruby Way.

If not all parties are Ruby-based, Ruby also has nice SOAP and XML-RPC libs, too.

http://www.ruby-doc.org/stdlib/libdoc/soap/rdoc/index.html
http://www.ruby-doc.org/stdlib/libdoc/xmlrpc/rdoc/index.html

James

SOAP is nice. I've been using it very much. SOAP love! :wink:

SOAP4R works very nice, NaHi(the creator) is a very helpful
person. I highly recommend SOAP. I recently completed a
couple projects using SOAP, and it was very easy to create a
portable way for information handling.

David Ross

···

On Nov 27, 2004, at 8:02 PM, RCS wrote:

--
Want to see others who are interested in Ruby?
See more Info at [ Website: http://www.rubymine.org/q=IRC ]
ruby-talk on Freenode [ IRC: irc://freenode.net/ruby-talk ]

Hazzle free packages for Ruby?
RPA is available from [ Website: http://www.rubyarchive.org/ ]