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 5. RESTful Web Services by Example

The APIs and technologies introduced and discussed in the previous chapters are suitable for different types of projects and use cases. This chapter covers how these APIs and technologies can fit into solutions and case-oriented software systems.

After a brief introduction of what the application is supposed to do, we will break it down and focus on every component and technology used. So bring on the extra cup of mocha and join the fun.

This chapter will cover the following two samples:

  • Event notification application showing Server-sent Events, Async Servlet, JSON-P API, and JAX-RS based on the Twitter Search API
  • Library application showing JAX-RS API, WebSockets, JSON-P API, and asynchronous JAX-RS resources ...

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