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

New features in JAX-RS 2.0

JAX-RS 2.0 brings in several new features aligned with other lightweight and async processing features provided in other components. The new features include the following:

  • Client API
  • Common configuration
  • Asynchronous processing
  • Filters/interceptors
  • Hypermedia support
  • Server-side content negotiation

From this list of features, this section covers asynchronous processing and also the relevance of asynchronous processing to filters/interceptors.

Asynchronous request and response processing

Asynchronous processing is included in both client and server side APIs of JAX-RS 2.0 to facilitate asynchronous interaction between client and server components. The following list shows the new interfaces and classes added to support this feature: ...

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