George V. Reilly

Review: RESTful Web Services

RESTful Web Services
Title: RESTful Web Services
Author: Leonard Richardson, Sam Ruby
Rating: ★ ★ ★ ★ ½
Publisher: O’Reilly
Copyright: 2007
Pages: 419
Keywords: pro­gram­ming, web services, REST
Reading period: 22 August-8 September 2007

Anyone who has attempted to build a Web Service has come away scarred by the complexity of all the WS-* standards. Heavy­weight standards that in many ways reinvent earlier dis­trib­uted object tech­nolo­gies like CORBA and DCOM, providing Remote Procedure Calls over HTTP. The promised in­ter­op­er­abil­i­ty hasn’t really happened: a web service built with one stack of tools may or may not be consumable by another stack.

A movement has arisen in the last few years, arguing for RESTful Web Services: lighter­weight services built on top of the REST ar­chi­tec­tur­al style with simpler tools.

Big Web Services expose algorithms and method calls. ROA (REST-oriented ar­chi­tec­ture) web services expose data (resources) through the simple, uniform interface of HTTP.

I’m not going to try to explain REST or ROA here. Poke around the book site and the RESTwiki if you want more details.

I think this book is destined to be a minor classic. It explains the REST-oriented ar­chi­tec­ture very clearly. It works through several plausible examples, building services and clients in a variety of languages (most notably Ruby on Rails). It’s not intimately tied to one software stack, which means that the book will still be useful five years from now. In part, that’s because the tools support is fairly weak. As far as I can tell, you’re reduced to rolling your own ROA web service from scratch in .NET, for example.

I haven’t had to dig very deeply into WS-*, for­tu­nate­ly, but I haven’t cared for what I’ve seen. The authors don’t spend a lot of time critiquing what they see as the short­com­ings of SOAP and the WS-* standards, but I’m not equipped to find fault in what they say. What they do say, sounds reasonable to me.

Rec­om­mend­ed.

blog comments powered by Disqus
Review: Something From the Nightside » « Review: Blood Bound