Friday, March 29, 2019

REST Services


REST stands for Representational State Transfer which was introduced by Roy Fielding in 2000.It is an architectural style of client/ server networked hypermedia applications.The web services based on REST architecture are known as RESTful web services.These services are build to work best on the web and it specifies contains such as uniform interface.
Data and functionalities are considered resources and accessed using URIs. REST uses various representation to represent a resource like text,JSON and XML.And it designed to use stateless communication protocol like HTTP.Some of the most commonly used methods can be taken as PUT,DELETE,POST,OPTIONS. Not only its sate-less but also some e of the key features are its simple than SOAP ,the errors or mistakes can be known while working ,lightweight ,maintainable and scalable.
Some of the principles to encourage REST to be simple and lightweight because of the self-descriptive messages ,stateful interactions through hyperlinks, recourse identification through URI.
Advantages of REST
  • Separation between the client and the server
  • visibility and reliability
  • Its independent from the type of platform or language.
  • Sate-less communication, replicated repository make for a good scalability potential.
REST advantages over SOAP
  • Low use of resources.
  • Client doesn’t need routing information with the initial URI
  • Usually simple to build and adapt.
  • Process instances are created explicitly.

No comments:

Post a Comment