Information Technology
Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON
The Java API for Representational State Transfer (JAX-RS) specification defines a set of Java APIs for building web services conforming to the REST style. This specification defines how to expose POJOs as web resources, using HTTP as the network protocol. Applications using these APIs can be deployed to an application server in a portable manner. Some of the key features that are introduced in the JAX-RS 2.0 specification are as follows: • Client API • Server side asynchronous support • Bean Validation support In the subsequent sections we will cover the following topics in relation to JAX-RS 2.0: • Converting POJOs to RESTful resources • More on JAX-RS annotations • Client API for JAX-RS • Entities in JAX-RS • Custom entity providers in JAX-RS • Using the Bean Validation API with JAX-RS
No copy data
No other version available