O'Reilly logo

Distributed Computing in Java 9 by Raja Malleswara Rao Pattamsetti

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

Building a RESTful web service using the JAX-RS API (using the Jersey implementation)

There is a set of annotations defined by JAX-RS under the javax.ws.rs package that you can use to build RESTful web services. The following table defines of some important annotations:

To build a RESTful web service based on JAX-RS, perform the following steps:

  1. Define the remote server component.
  2. Implement the deployment descriptor configurations.
  3. Write the web component that is the default home page of the web service application.
  1. Write the client program to consume the web service.
  1. The first step is to define the remote server component for the RESTful ...

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