Chapter 3. Building Powerful Services with JSON and RESTful Features
Nowadays, using REST services with JSON is the most common method for data transfer between applications over the HTTP protocol and this is not a coincidence—this is fast and easy to do. It's an easy to read, easy to parse and, with JSON-P, easy to code!
The following recipes will show you some common scenarios and how to apply Java EE to deal with them.
This chapter covers the following recipes:
- Building server-side events with JAX-RS
- Improving a service's capabilities with JAX-RS and CDI
- Easing data and object representation with JSON-B
- Parsing, generating, transforming, and querying JSON objects using JSON-P