Tuesday, November 24, 2009

Web Services

Web service is nothing but a piece of business logic provided as a service over the internet. Web services dissolves the technology dependency that existed between the client and the server in the historical client server architecture. Basically, the client and server needed to understand the technology they used. Otherwise, communication became a head ache. Of course, with CORBA we indeed solved the problem of technology dependency up to an extent. But it wasn't the solution. Later, when web services came into the existence, it really solved the technology dependencies. Now, with web services, the client need not worry about the technology used by the service provider. Also, the service provider need not worry about the different clients to which it has to send the response. The web services technology evolved with the evolution of standards. Web services basically alleviates the majority of the problems via standards. Web services introduces a common protocol to transfer data between the clients and the service provider. That way, the clients and the service provider are spared from transforming the data. With proper standards in place, the data transformation could be easily done by a tool. Web services is based on XML + HTTP protocol. Web services uses XML to send the service request and response over HTTP. Simplicity is the main advantage of web services. Web services has changed the face of distributed programming and the client-server architecture too. In this blog, I'm going to write about Web services, web services and only web services.