Creating the REST client

Now that there is a service that provides a list of movie exhibitions available on the Theater module, we need to update the Store module to consume this API and display the retrieved information on the query page. Here's a graphical representation of this functionality:

Creating the REST client

The JAX-RS RI defines a client API for RESTful Web Services clients and the base class for this is com.sun.jersey.api.client.Client. This is the main class we're going to use to develop our client in the next section.

Configuring JAX-RS client libraries and optional package

Before starting the creation of the client, we need to add some Jersey libraries to ...

Get Getting Started with Oracle WebLogic Server 12c: Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.