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

Get Java EE 8 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.