This chapter started with a brief introduction to REST and the key principles of RESTful Web Services development, followed by converting a POJO to a JAX-RS resource, a RESTful endpoint along with discussing different HTTP verbs and their use.
After the introduction, the chapter dives deeper into the JAX-RS API by introducing the client API to send requests to the resources developed using the JAX-RS APIs. We also covered customizing the entity providers to produce different output formats using
MessageBodyWriters. We learned how to validate JAX-RS 2.0 resources using Bean Validation.
In the next chapter, we will cover the different polling techniques, compare and contrast them with Server-sent events (SSE) and WebSockets ...