+

Search Tips   |   Advanced Search

Use the Apache Wink REST client inside server applications to issue requests

We can use the Apache Wink REST client as a client that can be run to send requests to the JAX-RS application.

The Apache Wink REST client is a Java-based HTTP client. This client provides convenience methods for using REST services. The JAX-RS specification does not currently define a standard client API. IBM JAX-RS provides the Apache Wink REST client API as an easy to use client that enables easier integration with existing programs.

  1. Configure the development environment. Before you start developing JAX-RS applications, set up the development environment by adding the JAX-RS libraries on the classpath.

  2. Implement a client using the Apache Wink Rest client. Use the Apache Wink RestClient API to create a stand-alone client that can send requests to the JAX-RS application.


Results

You have implemented a JAX-RS client using the Apache Wink Rest client that can issue requests to a JAX-RS application.


Subtopics


Related tasks

  • Implement clients that use the Apache Wink REST client

  • Web services specifications and APIs