O'Reilly logo

Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON by Bhakti Mehta, Masoud Kalali

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. JSON and Asynchronous Processing

This chapter covers a brand new JSR, The JSR 353: Java API for JSON Processing http://jcp.org/en/jsr/detail?id=353, and related APIs along with some updates in different services and components in Java EE that provide better support for asynchronous interaction between different components of a system. The following list shows an itemized list of topics that are covered in this chapter:

  • Producing, parsing and manipulating JSON data using Java
  • Introducing NIO API in Servlet 3.1
  • New features in JAX-RS 2.0

Producing and parsing JSON documents

JSON format was introduced as a replacement for the XML format when the extensibility and verbosity of XML were not required and thus to lift the resource consumption of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required