Home > Ask the SOA Experts > Web services and SOA management Questions & Answers > The benefits and limitations of REST
Ask The SOA Expert: Questions & Answers
EMAIL THIS

The benefits and limitations of REST

David Chappell EXPERT RESPONSE FROM: David Chappell

Pose a Question
Other SOA Categories
Meet all SOA Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 21 May 2006
What are the benefits and limitations of building services with REST?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Web services and SOA management
BPM frameworks
Managing present day SOA and Web services
The difference between SOA governance and Web services management

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


REST stands for Representational State Transfer, and places the emphasis on using a representation of a resource (the thing a URL points to) to hold the state of an application. The emphasis REST places on state being held in the representation places it in direct opposition to most web development frameworks: things like cookies and server-side sessions are anathama to REST applications, for example. That being said, the TAG within the W3C is investigating the idea of state in web applications, and there is definitely a REST contingent that thinks cookies have their place. Generally speaking there are debates about how state can be handled well in practical applications using REST, but conventions and communal wisdom haven't yet emerged.

A good REST application uses a small number of verbs, and typically, sophisticated representations (XML being an obvious one). A good REST application will exhibit key network features such as transparent cachability, which can lead to improved performance is widely distributed systems, scalability, reduced server load, statelessness on the server making failover easy, etc. etc. Sophisticated REST applications require careful design in order to make them stateless, which still preserving application semantics, security etc.

REST does not prescribe the HTTP verbs, but you can build REST applications using HTTP if you are careful (avoid cookies and server side state). At this point, a good use of REST in a SOA world would be for simple services, such as a transformation service, PO submission service, etc. where caching, scalability etc. are all acceptable.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SOA Governance White Papers - BPM, EDA, IT Governance
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2001 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts