Overview of JAX-RS Annotations (Part 3) This is a three-part series looking at the annotation that is used to implement REST endpoints. In part one of JAX-RS annotations you [...]
Overview of JAX-RS Annotations (Part 2) This is a three-part series looking at the annotation that is used to implement REST endpoints. In part one of JAX-RS annotations you [...]
Overview of JAX-RS (Part 1) The JAX-RS API forms an important part of the Java EE platforms commitment to provide standards-driven technology. The ubiquitous nature of the [...]
How to Maintain a List’s Generic Type The problem is that when you want to return a List from a JAX-RS resource method the generic type is lost. The following code [...]
Inject Twelve Context Object The JAX-RS API from the Java EE ecosystem of technologies provides the annotation @Context, to inject 12 object instances related to the [...]
How to use the @Context annotation In part 4 of What is javax.ws.rs.core.context? you learned about using the @Context annotation to inject the HttpServletResponse and the [...]
How to use the @Context annotation In part 3 of What is javax.ws.rs.core.context? you learned how to use the @Context annotation with Request and Configuration, Providers, [...]
How to use the @Context annotation In part 2 of What is javax.ws.rs.core.context? you learned how to use the @Context annotation to retrieve security information from an [...]
How to use the @Context annotation In part 1 of What is javax.ws.rs.core.context? you learnt how to use the @Context annotation to retrieve HTTP Header information from an [...]
How to use the @Context annotation The JAX-RS API provides a very handy mechanism to inject a range of useful resources, such as HTTP Headers, into your endpoint. [...]