Skip to Content
Building RESTful Web Services with Java EE 8
book

Building RESTful Web Services with Java EE 8

by Mario-Leander Reimer
July 2018
Intermediate to advanced
116 pages
2h 41m
English
Packt Publishing
Content preview from Building RESTful Web Services with Java EE 8

Content Marshalling with JSON-B and JSON-P

In this chapterwe will focus on the data structures and payloads of web services. You will learn how to properly use content types and content negotiation for your web services, how to use the new JSON-B APIs for easy data binding, how JSON-P API can be used for very flexible JSON processing, and how it can be used to implement hypermedia-driven REST APIs.

The following topics will be covered in this chapter:

  • Introduction to content types and content negotiation
  • Easy data binding using JSON-B
  • Flexible JSON processing with JSON-P
  • Implementing hypermedia-driven REST APIs
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

RESTful Java Web Services - Third Edition

RESTful Java Web Services - Third Edition

Balachandar Bogunuva Mohanram

Publisher Resources

ISBN: 9781789532883Supplemental Content