Sunday, November 11, 2012

What Is Rest ?


REST stands for Representational State Transfer. (It is sometimes spelled "ReST".)
Rest have the following protocol.
1)stateless.
2)client-server.
3) cache able communications protocol.
What is the idea behind Rest?
The idea behind is instead of using complex mechanisms and heavy  weight components like CORBA,RPC and SOAP simple HTTP is used to make call between machines.
So how to use GET,PUT,POST,DELETE Interfaces .
The following image shows how to use javax.ws.rs