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

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

About this task

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.

Procedure

  1. Configure the development environment. Before you start developing JAX-RS applications, you must set up your 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 your 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.


Icon that indicates the type of topic Task topic



Timestamp icon Last updated: March 5, 2017 17:29
File name: twbs_jaxrs_impl_client.html