RESTful web service with Jersey and Maven

In this tutorial we will create a simple RESTful web service with Jersey and Maven. The example code is available on Github. 1. Requirements Eclipse EE 4.4.2 (important, make sure to use the EE version, otherwise you cannot adapt the Project Facets later on) Apache Maven 3.3.3 M2E – useful Maven plugin for Eclipse Tomcat 8 JDK 8 You can use other versions for Tomcat and the JDK, just make sure you adapt everything accordingly. The safest way is to use the same versions though. 2. Installation Assuming JDK, Eclipse, Maven and Tomcat are installed correctly.…

Read More