Developing REST-based web services

JAX-RS 2.0 (JSR-339 can be found at https://jcp.org/en/jsr/detail?id=339) is a JCP specification that provides a Java API for RESTful web services in the HTTP protocol. It is a major refresh from the old Version 1.1. Some of the new features are the client API, HATEOAS support, and asynchronous calls.

In their simplest form, RESTful web services are networked applications that manipulate the state of system resources. In this context, resource manipulation means resource creation, retrieval, updatation, and deletion (CRUD). However, RESTful web services are not limited to just these four basic data manipulation concepts. On the contrary, RESTful web services can execute logic at the server level but remember that ...

Get Java EE 7 Development with WildFly now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.