Java™ API for RESTful web services (JAX-RS), also
known as JSR-311, is a programming model with which to create Representational State Transfer (REST)
services quickly.
Rational® Application Developer v7.5.5 and later
support JAX-RS application development. To develop JAX-RS applications, you must do these tasks:
- Install the WebSphere® Application Server v7.0 or
v8.0 WebSphere Test Environment, selecting to install
the Feature Pack for Web 2.0 and the tools for WebSphere
Application Server development, or the WebSphere
Application Server v6.1 Test Environment selecting to install the Feature Pack bundle.
- Create an application in a project using the JAX-RS template. This template enables the JAX-RS
facet, and required components of the Web 2.0 facet. This adds the library, servlet information, and
support for JAX-RS annotations processing and JAX-RS quick fixes to your project.
To see how to create a JAX-RS application by using the IBM®
JAX-RS implementation, see Tutorial: Creating a JAX-RS web service.
For more information, see the official specification:JSR 311: JAX-RS: The Java API for RESTful web services
Apache Wink and the IBM implementation of JAX-RS
Wink is a project developed within the Apache Software Foundation that provides a lightweight
framework for developing RESTful applications. Wink supports REST services that are implemented by
using JAX-RS to describe the resources on the server. However, a client API is also provided by
Wink. This client API is specific to the Wink runtime environment because there is no JAX-RS defined
client API.
The IBM implementation
of JAX-RS is an extension of the base Wink 1.1 runtime environment.
IBM JAX-RS includes the following features:
- JAX-RS 1.1 server runtime
- Stand-alone client API with the option to use Apache HttpClient
4.0 as the underlying client
- Built-in entity provider support for JSON4J
- An Atom JAXB model in addition to Apache Abdera support
- Multipart content support
- A handler system to integrate user handlers into the processing
of requests and responses