Posts

Showing posts with the label Architecture

Restful Webservices

This article is about Restful webservices and some thoughts on its design/architecture. REST stands for Representative State Transfer.  Restful architecture is resource oriented. The services expose a set of resources to the client and client can perform a set of operations on the resources which modify the state of the resource. Design: Restful webservices design requires a paradigm shift in the way we think about designing services.  In the SOAP world, it was all about operations. So we used to think, what will this webservice "DO". But that is something which we should not do in Restful.  Let's take for example an order entry application. In the SOAP world, we would think about services like createOrder, updateOrder, addLineItems etc.  To design the same in Restful world, we need to identify all the resources in the application which the client cares about.  These resources need not necessarily have a one to one mapping to the underlying schema. It i...