[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

CORBA for Ruby?

RCS

11/28/2004 12:44:00 AM

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
10 Answers

Shashank Date

11/28/2004 1:56:00 AM

0

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?se...

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

11/28/2004 1:59:00 AM

0

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

James Gray

11/28/2004 2:07:00 AM

0

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.

Hope that helps.

James Edward Gray II



Edgardo Hames

11/28/2004 2:08:00 AM

0

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?
>

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

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


James Britt

11/28/2004 2:26:00 AM

0

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/...
http://www.ruby-doc.org/stdlib/libdoc/xmlrpc/rdoc/...

James


David Ross

11/28/2004 3:18:00 AM

0

James Britt wrote:

> 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/...
> http://www.ruby-doc.org/stdlib/libdoc/xmlrpc/rdoc/...
>
> James
>
>
SOAP is nice. I've been using it very much. SOAP love! ;)

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
--
Want to see others who are interested in Ruby?
See more Info at [ Website: http://www.rubymine... ]
#ruby-talk on Freenode [ IRC: irc://freenode.net/ruby-talk ]

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



gabriele renzi

11/28/2004 11:37:00 AM

0

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)

RCS

11/28/2004 2:43:00 PM

0

Thank you for the info, all!

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

RCS

leon breedt

11/28/2004 7:41:00 PM

0

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.
Perhaps ICE bindings for Ruby could also be useful? (Faster than CORBA
apparently).

http:/...

Leon


Paul Brannan

11/29/2004 4:03:00 PM

0

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?

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