News Ticker

Java EE

JAX-RS Media Types

June 28, 2017 // 4 Comments

Introduction to @Consumes and @Produces All resource methods can consume and produce content of almost any type. If you make a POST request to a URI, such as api/books, the [...]

JAX-RS Resource Entities

June 27, 2017 // 1 Comment

How to Create JAX-RS Resource Entities Let’s take a look at the creation of JAX-RS resource entities, why they should be annotated @XmlRootElement and discover how to [...]