

RESTEasy: RESTEasy is the JBoss project that provides JAX-RS implementation.Note that JAX-RS API is part of JDK not Jersey, so we have to add its dependency jars in our application. For using Jersey as our JAX-RS implementation, all we need to configure its servlet in web.xml and add required dependencies. Jersey: Jersey is the reference implementation provided by Sun.

There are two major implementations of JAX-RS API. JAX-RS is the Java API for REST web services whereas JAX-WS is the Java API for SOAP web services.REST web services request and response types can be XML, JSON, text etc.Learning curve is easy for REST when compared to SOAP web services.SOAP server and client applications are tightly coupled and bind with the WSDL contract whereas there is no contract in REST web services and client.

