Nowadays, using Representational State Transfer (REST) services with JavaScript Object Notation (JSON) is the most common method for data transfer between applications over the HyperText Transfer Protocol (HTTP) protocol and this is not a coincidence—this is fast and easy to do. It's easy to read, easy to parse, and, with JSON with Padding (JSON-P), easy to code!
The following recipes will show you some such common scenarios and how to apply Jakarta 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 Jakarta CDI
- Easing data and object representation with Jakarta JSON Binding
- Parsing, generating, transforming, and querying JSON objects using Jakarta JSON Processing