Thursday 2 February 2012

REST Vs Soap

REST: Representational state transfer, It’s an architecture.
              REST architectures consist of clients and servers. Clients initiate requests to servers; servers process requests and return appropriate responses. Requests and responses are built around the transfer of representations of resources
               REST architecture work with Http protocol, so it’s purely stateless,
               Client request can catch the responses to improve the performances,
               It’s a layered architecture; we can improve the system by enabling load-balancer, cache server, etc.
               It provides / designed for uniform interface.
                REST: bandwidth usage is lighter.
SOAP:
               It’s a an protocol,
               It can run on Http, Jms, Ftp, SMTP protocols.
               This supports Transaction, security, etc But REST users to build this custom plumbing,
              

No comments:

Post a Comment