A simple Jersey REST Service API explains the concepts for param annotation
Download and import the project as existing Maven Project, and do a run on server (Tomcat)
Example given on, @QueryParam @PathParam @MatrixParam @HeaderParam @CookieParam @Context @BeanParam