Gartner Research

RESTful Web Applications and Services

Published: 13 May 2011

ID: G00212123

Analyst(s): Richard Watson

Summary

Representational State Transfer (REST) is a formal description of the architectural model of the World Wide Web. REST is also a lesson in applying the Web's principles to the design of other software systems. Web architecture will remain an underexploited source of value in the enterprise unless there is a deliberate shift toward using REST principles. That shift begins with understanding REST's architectural constraints that make systems more accessible, usable, scalable, higher performing, and maintainable. Research Director Richard Watson assesses REST as an architecture style for building enterprise Web applications and services.

Table Of Contents

Summary of Findings

Analysis

  • Enterprise Drivers for REST
    • Responding to the Macro Trends
    • Web APIs Are Shop Fronts, Not Back Doors
    • Not Just for Web Natives
    • Myth: SOA and REST Are Mutually Exclusive
  • Just Enough REST
    • Rule 1. Give Every "Thing" an Identifier
    • Rule 2. Support Multiple Representations of Each Resource
    • Rule 3: Use the Uniform HTTP Interface
    • Rule 4: Communicate Statelessly
    • Rule 5: Use Hyperlinks to Tell the Client What to Do Next
  • Resource Orientation: Thinking in Nouns
    • Comparing RESTful Web Services to SOAP
  • Enterprise Adoption Challenges
    • Doing REST Badly Is a Risk
    • Mind-Set Challenges
    • Technical Factors
    • Management Challenges
  • Industry Momentum
    • RESTful APIs Take over the Programmable Web
    • Frameworks for Building RESTful Applications
    • Improving Vendor Support
  • Strengths
  • Weaknesses
  • Assess the Development Team's Readiness for REST
  • Understand System Requirements First, then Pick an Architecture Style
  • Provide Guidance for When It Is Appropriate to Use REST
  • Start Small, but Start Right Away
  • Invest in People, Not Software Licenses
  • Sell REST to the Corner Office (by Not Selling It)
  • Leave Service Interface-Style Choice to the Consumer
  • Prepare to Think About Application Systems Differently

The Details

  • Understanding REST: From Constraints to Value
    • REST Constraints: More than the Sum of Their Parts
    • Additional Uniform Interface Constraints
    • Translating the Properties of RESTful Systems into Value
  • REST Frameworks
    • JAX-RS

Further Information

Recommended Reading

  • Discussion Groups
  • Blogs to Follow
  • Selected Articles
  • Dissenting Voices

Notes

©2019 Gartner, Inc. and/or its affiliates. All rights reserved. Gartner is a registered trademark of Gartner, Inc. and its affiliates. This publication may not be reproduced or distributed in any form without Gartner’s prior written permission. It consists of the opinions of Gartner’s research organization, which should not be construed as statements of fact. While the information contained in this publication has been obtained from sources believed to be reliable, Gartner disclaims all warranties as to the accuracy, completeness or adequacy of such information. Although Gartner research may address legal and financial issues, Gartner does not provide legal or investment advice and its research should not be construed or used as such. Your access and use of this publication are governed by Gartner’s Usage Policy. Gartner prides itself on its reputation for independence and objectivity. Its research is produced independently by its research organization without input or influence from any third party. For further information, see Guiding Principles on Independence and Objectivity.

Already have a Gartner Account?

Become a client

Learn how to access this content as a Gartner client.