Category: JAX-RS (REST)

jersey tutorials

JAX-RS @PathParam Example

The JAX-RS @PathParam annotation allows you to inject the value of named URI path parameters that were defined in the @Path annotation expression. In this example we’ll explore the different ways you can use the...
jersey tutorials

JAX-RS @QueryParam Example

The JAX-RS @QueryParam annotation allows you to inject URI query parameters into your Java parameters. These query parameters are represented as a string of characters within the HTTP request. JAX-RS can convert this string data...
jersey tutorials

Configure Jersey with Annotations only

In this tutorial we show you how to Configure Jersey with Annotations. By using only Annotations to configure jersey, the web.xml file becomes obsolete. This results in cleaner code which is always a good thing....