The Java API for Representational State Transfer (JAX-RS) specification defines a set of Java APIs for building web services conforming to the REST style.
This specification defines how to expose POJOs as web resources, using HTTP as the network protocol. Applications using these APIs can be deployed to an application server in a portable manner.
Some of the key features that are introduced in the JAX-RS 2.0 specification are as follows:
In the subsequent sections we will cover the following topics in relation to JAX-RS 2.0: