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

Evaluating RPC versus REST

  • To: "xml-dev" <xml-dev@l...>
  • Subject: Evaluating RPC versus REST
  • From: "Leigh Dodds" <ldodds@i...>
  • Date: Tue, 26 Feb 2002 15:04:47 -0000
  • Importance: Normal

rpc vs rest
Fieldings dissertation presents a number of architectural styles, and 
evaluates each of them within a defined context: distributed hypermedia.
However he doesn't cover RPC in this classification (correct me if I'm wrong, 
I've only read through the whole thing once). RPC is mentioned in a 
later section [1] though.

So why not define RPC as an architectural style -- in all likelihood derived 
from others that Fielding does classify -- so it can be objectively compared 
to REST?

Might that not provide a clear evaluation of the architectures separate 
to any issues with the specific technologies (SOAP, WSDL, .NET, etc)?

It may be that RPC doesn't compare favourably to REST in a distributed 
hypermedia environment, but does in others (e.g. the canonical 'inside the firewall' 
example). It may be that RPC *can* be used in successfully used in some environments 
across the public internet, just not distributed hypermedia. It may 
be that these can exist side by side, although no doubt there will be efforts [2] 
to make the distinctions disappear.

Identifying the suitable contexts for different architectural styles seems like a 
best practice discussion -- there will be no single right answer.

At this point we could argue over whether there ought to be several different 
Internet architectures (i.e. "there is no (single) Web"), or whether every effort should be 
made to optimise for the general case, i.e. REST. Personally I'm in the latter camp.

[1]. http://www1.ics.uci.edu/~fielding/pubs/dissertation/evaluation.htm#sec_6_5_2
[2]. http://wsui.org/

-- 
Leigh Dodds, Research Group, Ingenta | "Pluralitas non est ponenda
http://weblogs.userland.com/eclectic |    sine necessitate"
http://www.xml.com/pub/xmldeviant    |     -- William of Ockham

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-2013 All Rights Reserved.