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.


指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:18
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=twbs_jaxrs_impl_client
檔名:twbs_jaxrs_impl_client.html