[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: What Does SOAP/WS Do that A REST System Can't?


soap rest comparison restful
Michael Champion wrote:

> In a resource-oriented architecture, new features are handled by
> defining new URIs to manipulate,, new interpretations of HTTP return
> codes,  new synatax or semantics of the documents transferred,
> whatever. How can  clients nott need to understand those details in
> order to use the features?   Or better yet, point me to a concrete
> example on the Web.
> 
> Dare mentions than in a service-oriented aggregator, " If later on a a
> new service shows up (e.g. getRecentBookmarks() to get RSS feeds from
> del.icio.us) then the client has to be upgraded."   Sure, but
> SOMETHING on the client has to change in a RESTful version as well ...
> not the method for retrieving data, which can be GET, but the logic
> for doing anything that understands the distinction between a news
> story and a bookmark has to come from somewhere.


That's the point. You get more flexibility as to where and how you apply 
processing logic. That's a huge software win that one might not 
appreciate from a the vantage of a whiteboard. In a getThis, getThat 
protocol framework, you seem to end up playing infrastructure catchup 
and trying to keep clients and servers in sync. Basically by hardcoding 
This and That into the method names you're making questionable 
assumptions about the range of operations you will need to support.

Abstractly speaking it's all processing, concretely speaking having 
control of how processing occurs and how code is dispatched is critical. 
Systems with flexible and deferred dispatching modes are almost always 
cheaper and easier to maintain.

For a not completely dissonant comparison, in OO systems where not all 
possible types can be ranged over at design time (because no-one knows 
how many more types there will be alter on), plugin and delegation absed 
  architectures are almost always preferrable way to deal with that 
problem.

cheers
Bill


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.