RESTEasy is another popular implementation of the JAX-RS specification available under the ASL (Apache) 2.0 license, which can run in any Servlet container. RESTEasy also comes with additional features on top of the plain JAX-RS functionalities.
To seamlessly integrate the RESTEasy features, the following Maven dependencies must be configured in the project in pom.xml under the dependencies element, as shown ahead:
<!-- RESTEasy Core APIs-->
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<version>RELEASE</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxb-provider</artifactId>
<version>RELEASE</version>
</dependency>
<!-- RESTEasy Client APIs-->
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client</artifactId>
<version>RELEASE</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jackson-provider</artifactId>
<version>RELEASE</version>
</dependency>
<!-- RESTEasy Cache APIs-->
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-cache-core</artifactId>
<version>RELEASE</version>
</dependency>
In the following sections, let's take a look at some of the useful features provided by the RESTEasy framework