• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
  • Himai Minh
  • Carey Brown
  • salvin francis

What does state transfer in REST means ?

Ranch Hand
Posts: 391
MySQL Database PHP Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I understand that different representations of a resource can be sent from the server to client. But what does state transfer means. I googled it but not able to understand what it actually means and where is that state maintained. Shouldn't it be just RET , representation transfer
Posts: 14
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
State means at any particular time the values that an object hold. You can think it like an instance/object of a class holding some values at a particular time. So that is the state of that object. State transfer means transferring these values to a particular component.

REST is stateless because each request is self explanatory i.e. each request contains all the information that is needed by the requested resource and it does not depend on any previous state. Below link might help you on this...

Eat that pie! EAT IT! Now read this tiny ad. READ IT!
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic