Introduction to REST:

REST Stands for REpresentational State Transfer. REST  is built to work best in web and uses a stateless communication protocol, typically HTTP. Following principles make RESTful application simple, lightweight and fast.

  • URIs are used to identify resources (services).
  • Uniform Indentification for CRID activities
    • Create – PUT
    • Read – GET
    • Update – POST
    • Delete – DELETE
  • Resources (Services) are decoupled from representation so their content can be accessed in variety of formats. Eg: HTML, Plain Text, XML, JSON etc
  • As Rest Services are Stateless, Stateful interaction can be done by URI rewriting, cookies and hidden fields.

Advantages of REST

  • Better Performance
  • Scalability
  • Modifiability.

Disadvantages of REST

  • Less Secure

<Put in an HelloWorldRest Service here with  text on what annotation means what>