To get started, create a new Maven webapp (how to do this is outside the scope of this example). In your pom.xml, add the following two dependencies
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet</artifactId&...