Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The acronym REST stands for REpresentational Representational State Transfer, which basically means that each unique URI is a representation of some object and an action executed upon it.

Tip
titleURI & URL

URI (Uniform Resource Identifier) is used throughout this tutorial. If it makes you feel better, cross it out and use URL instead.

In the Web Services services world, REpresentational Representational State Transfer (REST) is a key design idiom that embraces a stateless client-server architecture in which the web Web services are viewed as resources and can be identified by their URIs. Web service clients that want to use these resources can get a content of using HTTP GET, modify the content using HTTP POST or HTTP UPDATE or delete the resource using HTTP DELETE.

Info
titleREST - An Architectural Style, Not a Standard

REST is not a standard. You will not see the W3C putting out a REST specification. Because REST is just an architectural style. You can design your web Web services in that style by understanding it.

RESTful Web

...

services

Systems which follow REST principles are often referred to as RESTful. RESTful Web Services services is one among them and simplifies the development of web Web services when compared to SOAP Web Services. Today, the Java API for XML Web Services (JAX-WS) provides basic support for building and deploying RESTful Web Servicesservices. However, the upcoming Java API for RESTful Web Services (JAX-RS) specification will provide the full support for RESTful Web Services for the Java platform.

XML

...

message level

In RESTful Web Services services applications commonly work at XML message level which unlocks full potential of utilizing the web Web service. Although this has a downside by increasing complexity of client applications, compared to the significant ease of developing services its just a very little bump on the road. JAX-WS provides a generic Provider and Dispatch interface to access the message payload using low level API.

REST

...

advantages

  • The Web Services are completely stateless
  • Light Weightweight
  • No security issues with firewalls
  • Human Readable readable results
  • Relative ease and reduction in time to develop services.

...

And REST is definitely the trendy way to develop web Web services if creating web Web services could ever be trendy.

...

  • Yahoo! - All Yahoo API's Web Services uses REST including Flickr, etc.
  • Google - Google Adsense Search and Google Maps are two good examples for RESTful services implemented by Google
  • Amazon
  • EBay
  • del.ico.us

...

RESTful Web Services have recently been introduced when compared to SOAP Web Services services which are sufficiently well established. In addition, the future holds the possibility of describing RESTful web Web services for tools to consume, which will further simplify the developer's experience.