# Ruby book for DRb, SOAP and friends

**URL:** <https://www.ruby-forum.com/t/ruby-book-for-drb-soap-and-friends/138625>\
**Category:** Ruby\
**Created:** [May 26, 2008, 2:50am UTC](https://www.ruby-forum.com/t/ruby-book-for-drb-soap-and-friends/138625 "2008-05-26T02:50:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saji\_NSHameed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3da27b/32.png) [@Saji\_NSHameed](https://www.ruby-forum.com/u/Saji_NSHameed)\
**Post date:** [May 26, 2008, 2:50am UTC](https://www.ruby-forum.com/t/ruby-book-for-drb-soap-and-friends/138625/1 "2008-05-26T02:50:40Z")

</div>

Dear List,

Any recommendations for a Ruby book that has substantial coverage  
on DRb, SOAP and such similar functions that may aid distributed  
computing. I understand that books such as “Ruby Way [Hal F.]”,  
“Ruby Developer’s guide[Johnson and Feldt]” has such coverage.

Is there a recommendation for any other books dealing with these  
topics in some depth?

thanks in advance,  
saji

–  
Saji N. Hameed

APEC Climate Center +82 51 668 7470  
National Pension Corporation Busan Building 12F  
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 removed\_email\_address@domain.invalid  
KOREA

---

<div class="post-metadata">

**Author:** ![Saji\_NSHameed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3da27b/32.png) [@Saji\_NSHameed](https://www.ruby-forum.com/u/Saji_NSHameed)\
**Post date:** [May 26, 2008, 10:20am UTC](https://www.ruby-forum.com/t/ruby-book-for-drb-soap-and-friends/138625/2 "2008-05-26T10:20:39Z")

</div>

Saji N. Hameed wrote:

> Dear List,
> 
> Any recommendations for a Ruby book that has substantial coverage  
> on DRb, SOAP and such similar functions that may aid distributed  
> computing. I understand that books such as “Ruby Way [Hal F.]”,  
> “Ruby Developer’s guide[Johnson and Feldt]” has such coverage.

Sorry, I don’t know about any books that cover soap4r in depth. The  
Agile Web D. with Rails covers some aspects of AWS, and there  
is the online manual of AWS at  
[http://manuals.rubyonrails.com/read/book/10](http://manuals.rubyonrails.com/read/book/10)  
I wrote a blog post just 2 days ago about how to consume Web Services  
with soap4r over a ssl mutual authentication protected channel.  
[http://s2.diffuse.it/blog/show/62\_Consume+SSL+protected+Web+Services+with+soap4r](http://s2.diffuse.it/blog/show/62_Consume+SSL+protected+Web+Services+with+soap4r)  
soap4r is not that difficult to grasp, may I ask what you are looking  
for in such a book?

---

<div class="post-metadata">

**Author:** ![Saji\_NSHameed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3da27b/32.png) [@Saji\_NSHameed](https://www.ruby-forum.com/u/Saji_NSHameed)\
**Post date:** [May 26, 2008, 2:28pm UTC](https://www.ruby-forum.com/t/ruby-book-for-drb-soap-and-friends/138625/3 "2008-05-26T14:28:43Z")

</div>

- S2 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) [2008-05-26 17:19:38 +0900]:

> I wrote a blog post just 2 days ago about how to consume Web Services  
> with soap4r over a ssl mutual authentication protected channel.  
> [http://s2.diffuse.it/blog/show/62\_Consume+SSL+protected+Web+Services+with+soap4r](http://s2.diffuse.it/blog/show/62_Consume+SSL+protected+Web+Services+with+soap4r)  
> soap4r is not that difficult to grasp, may I ask what you are looking  
> for in such a book?

Thanks…

We are writing a utility to serve and manage geophysical data (mostly  
climate data). Currently we use DRb

- some data manipulation software. However DRb can only be used between  
ruby scripts and I understand that SOAP can enable other non-ruby  
clients  
to access the services provided by the data server.  
–  
Saji N. Hameed

APEC Climate Center +82 51 668 7470  
National Pension Corporation Busan Building 12F  
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 removed\_email\_address@domain.invalid  
KOREA

---

<div class="post-metadata">

**Author:** ![Saji\_NSHameed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3da27b/32.png) [@Saji\_NSHameed](https://www.ruby-forum.com/u/Saji_NSHameed)\
**Post date:** [May 26, 2008, 6:36pm UTC](https://www.ruby-forum.com/t/ruby-book-for-drb-soap-and-friends/138625/4 "2008-05-26T18:36:17Z")

</div>

On May 26, 5:27 pm, “Saji N. Hameed” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > is the online manual of AWS at  
> > climate data). Currently we use DRb
> 
> - some data manipulation software. However DRb can only be used between  
> ruby scripts and I understand that SOAP can enable other non-ruby clients  
> to access the services provided by the data server.  
> –  
> Saji N. Hameed
> 
> APEC Climate Center +82 51 668 7470  
> National Pension Corporation Busan Building 12F  
> Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 removed\_email\_address@domain.invalid  
> KOREA

You can try:

1. The book “Enterprise Integration with Ruby”, available here:

> **[Pragmatic Bookshelf: By Developers, For Developers](https://pragprog.com)**
>
> We improve the lives of professional developers. We create timely, practical books on classic and cutting-edge topics to help you learn and practice your craft, and accelerate your career. Come learn with us.

It has a chapter that has some decent coverage of SOAP in Ruby - both  
writing servers and clients, including how to make the server  
automatically discover the methods of a class (servant) whose services  
(methods) it makes available to its clients. I’ve read it and tried  
out some of the examples; pretty straightforward.

It’s also quite good for the many other topics it covers, including  
XML-RPC, procedure calls over HTTP, XML, and other stuff, all related  
to Ruby, of course …

1. Looking at the source code for the Ruby SOAP libraries for more in-  
depth understanding, which may help.

HTH  
Vasudev Ram  
Biz site: [http://www.dancingbison.com](http://www.dancingbison.com)  
Blog on software innovation: [http://jugad.livejournal.com](http://jugad.livejournal.com)

---

<div class="post-metadata">

**Author:** ![Saji\_NSHameed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3da27b/32.png) [@Saji\_NSHameed](https://www.ruby-forum.com/u/Saji_NSHameed)\
**Post date:** [May 26, 2008, 6:36pm UTC](https://www.ruby-forum.com/t/ruby-book-for-drb-soap-and-friends/138625/5 "2008-05-26T18:36:53Z")

</div>

On May 26, 9:24 pm, vasudevram [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > > Sorry, I don’t know about any books that cover soap4r in depth. The
> 
> > Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 removed\_email\_address@domain.invalid  
> > KOREA

You can try:

1. The book “Enterprise Integration with Ruby”, available here:

> **[Pragmatic Bookshelf: By Developers, For Developers](https://pragprog.com)**
>
> We improve the lives of professional developers. We create timely, practical books on classic and cutting-edge topics to help you learn and practice your craft, and accelerate your career. Come learn with us.

It has a chapter that has some decent coverage of SOAP in Ruby - both  
writing servers and clients, including how to make the server  
automatically discover the methods of a class (servant) whose services  
(methods) it makes available to its clients. I’ve read it and tried  
out some of the examples; pretty straightforward.

It’s also quite good for the many other topics it covers, including  
XML-RPC, procedure calls over HTTP, XML, and other stuff, all related  
to Ruby, of course …

1. Looking at the source code for the Ruby SOAP libraries for more in-  
depth understanding, which may help.

HTH  
Vasudev Ram  
Biz site: [http://www.dancingbison.com](http://www.dancingbison.com)  
Blog on software innovation: [http://jugad.livejournal.com](http://jugad.livejournal.com)

---

<div class="post-metadata">

**Author:** ![Saji\_NSHameed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3da27b/32.png) [@Saji\_NSHameed](https://www.ruby-forum.com/u/Saji_NSHameed)\
**Post date:** [May 26, 2008, 7:19pm UTC](https://www.ruby-forum.com/t/ruby-book-for-drb-soap-and-friends/138625/6 "2008-05-26T19:19:52Z")

</div>

Saji N. Hameed wrote:

> We are writing a utility to serve and manage geophysical data (mostly  
> climate data). Currently we use DRb + some data manipulation  
> software. However DRb can only be used between ruby scripts and I  
> understand that SOAP can enable other non-ruby clients to access the  
> services provided by the data server.

Not to sound pedantic, but maybe you should consider implemening a REST  
interface to the data. Implementing it will actually be simpler than a  
SOAP interface and you will probably have fewer interoperability  
problems.  
To my experience (although things are very slowly getting better) SOAP  
implementation tend to bring more problems than your time investment is  
worth.  
Just a generic aphorism when put like this, so it looks like a  
flamebait, but honestly it’s not.  
V.-

---

<div class="post-metadata">

**Author:** ![Saji\_NSHameed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3da27b/32.png) [@Saji\_NSHameed](https://www.ruby-forum.com/u/Saji_NSHameed)\
**Post date:** [May 26, 2008, 6:25pm UTC](https://www.ruby-forum.com/t/ruby-book-for-drb-soap-and-friends/138625/7 "2008-05-26T18:25:39Z")

</div>

On May 26, 5:27 pm, “Saji N. Hameed” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

---

<div class="post-metadata">

**Author:** ![Saji\_NSHameed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3da27b/32.png) [@Saji\_NSHameed](https://www.ruby-forum.com/u/Saji_NSHameed)\
**Post date:** [May 26, 2008, 8:04pm UTC](https://www.ruby-forum.com/t/ruby-book-for-drb-soap-and-friends/138625/8 "2008-05-26T20:04:44Z")

</div>

- Vassilis R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) [2008-05-27 02:18:34 +0900]:

> SOAP interface and you will probably have fewer interoperability

Thanks for the tip. Being rather a rank beginner in Ruby, words like  
REST and  
SOAP are quite scary. At the moment we will stick to DRb and hope to  
migrate  
to other technologies as time and confidence advances…

any suggestions for learning more about REST(ful) interfaces?

## thanks in advance, saji

Saji N. Hameed

APEC Climate Center +82 51 668 7470  
National Pension Corporation Busan Building 12F  
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 removed\_email\_address@domain.invalid  
KOREA
