« Middleware 2005 workshop proposals | Main | SOAP vs. REST: stop the madness »

SOAP vs. REST -- huh?

I have to say that I was greatly puzzled as to where to begin refuting these two articles that purport to explain why REST is better than SOAP, mainly because they seem to confuse a variety of issues. Thankfully, though, Chris has saved me (and presumably a lot of others) the trouble. Thanks, Chris!

In particular, one thing I really can't figure out is where the whole Decorator/Adapter discussion in those articles is going. My colleagues and I have made extensive use of what I generally call interceptors to implement CORBA middleware, to implement J2EE middleware, and to implement Web services middleware, starting about a decade ago, as a key part of IONA's Adaptive Runtime Technology (ART) that underlies our products. Though the interceptor approach is obviously much older than a decade, it's become quite a popular approach over the past 5 years or so. Interceptors are a form of Chain of Responsibility, and they're useful for message-oriented systems and for RPC-oriented systems alike. Interceptors typically have a general interface because of where they sit in the stack, not because they're REST-oriented. Do interceptors inherently operate by transferring state representations? Not that I know of. Claiming that they have something to do with proving that REST is better than SOAP is therefore quite a stretch, IMO.

I prefer Dave Orchard's line of thinking on this topic -- less divisive, more realistic, and ultimately more useful.

TrackBack

Listed below are links to weblogs that reference SOAP vs. REST -- huh?:

» REST and Old-good-Interceptors from Radovan Janecek: Nothing Impersonal
Steve gives another good comment on Carlos's article.... [Read More]

» SOAP vs REST from Mícheál Ó Foghlú's Weblog
Various SOAP vs REST debates rumble on. It is good to see some sanity remaining: Middleware Matters: SOAP vs. REST -- huh? (Steve Vinoski) 1+1 = 0 (Christopher Ferris) For information about SOAP see W3C SOAP 1.2 and SOAP Discussion. For information abo... [Read More]

Comments (1)

My point is that Decorators are more easily composable than Adapters because of their uniform interfaces. That uniform interface is central to the argument of REST.

Carlos

About

This page contains a single entry from the blog posted on March 5, 2005 9:10 PM.

The previous post in this blog was Middleware 2005 workshop proposals.

The next post in this blog is SOAP vs. REST: stop the madness.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.31