The much-anticipated release of Java Enterprise Edition 8 boasts two exciting new APIs (JSON-Binding 1.0 and Java EE Security 1.0) and improvements to current APIs (JAX-RS [...]
My new book Java EE 8: Only What’s New covers all the new features of Java EE 8 and explains each one with code examples. Let’s have a look at some of the [...]
All this week I am over at the CodeRanch answering questions about JAX-RS. Come and join me in the Web Services forum where I will be having fun discussions with other [...]
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, [...]