Coexistence of JAX-RS 2.0 with JAX-RS 1.1
WebSphere® Application Server traditional version 9 supports both Java™ API for RESTful Web Services (JAX-RS) 2.0 and JAX-RS 1.1 features. In version 9 and its later versions, you can switch among different JAX-RS providers.
The default JAX-RS provider on WebSphere Application Server traditional version 9 is Apache CXF-based JAX-RS 2.0. You can also switch to Apache Wink-based JAX-RS 1.1 either by using command prompt or administrative console. Meanwhile, to help you bundle your own restful implementation in your application, the version 9 also provides support only for JAX-RS specification compresses.
Therefore, you can choose from the following JAX-RS providers based on your needs:
- JAX-RS 2.0
- Provides full support for JAX-RS 2.0.
- JAX-RS 1.1
- Provides full support for JAX-RS 1.1.
- 1.1 spec
- Provides support only for JAX-RS 1.1 specification compress. You need to package the JAX-RS 1.1 specification implementations in your applications.
- 2.0 spec
- Provides support only for JAX-RS 2.0 specification compress. You need to package the JAX-RS 2.0 specification implementations in your applications.