Monday, August 5, 2013

Web Services and its implementation

There has been lot of talks about developing web services and various ways of doing it for a long time now. But many of us (newbies) who started coding in a year or so are still not familiar with its jargon. In this blog I have tried to link various parts and explain terminology and technologies involved in developing web services.

WebServices : Web service is a method of communication between two electronic device over the world wide web. On a conceptual term, service is a software component provided through a network accessible endpoint.

WebServies can be implemented in various ways, but two most important one are :
(http://docs.oracle.com/javaee/6/tutorial/doc/giqsx.html)
(http://theopentutorials.com/tutorials/web-services/types-of-web-services-big-and-restful/)

  • Big web services - uses XML messages which follows SOAP (Simple Object Access Protocol) standard, an XML language that defines message architecture and message format. It contains machine readable descrtiption of the operations offered by web service, written in WSDL (Web Service Description Language), an XML language for defining interfaces syntactically. In Java 6, JAX-WS provides the functionality of big web services
  • RESTfull Web Services - 


These days RESTfull web services are very famous because of - reason

Java EE 6 provides JAX-RS as the implementation of RESTfull web services. It is a specification for developing rest full web services.

There are various implementations of JAX-RS. Some common ones are :
  1. Jersey - It is a reference implementation.
  2. RestEasy - This is jboss implementation of JAX-RS.