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

The library application

The library application is a simple, self-contained, real-life-based application that demonstrates HTML5 technologies such as WebSockets and shows how to use JAX-RS verbs, how to write data using JSON-P API, and how to take advantage of the asynchronous aspect of processing the resources. To stay on track the application contains the components that describe the preceding technologies using a simple GUI and does not have fancy dialog boxes or very complicated business logic.

How the application is deployed

The build system used for the sample application is Maven and the sample can be deployed in any Java EE 7-compatible application server, notably GlassFish v4.0, which is an open source reference implementation of Java EE ...

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