Switching among different JAX-RS providers by using administrative console

You can use the administrative console to list all the Java™ API for RESTful Web Services (JAX-RS) providers, identify, and modify the selected JAX-RS provider.

About this task

WebSphere® Application Server traditional V9 provides four options for JAX-RS provider. The default JAX-RS provider on the version 9 is Apache CXF-based JAX-RS 2.0. To switch among different JAX-RS providers by using administrative console, you need to complete the following steps.

Important: Ensure that the JAX-RS provider configured on the application server corresponds with your deployed application.
Tip:
  • In WebSphere Application Server traditional V9, JAX-RS is not supported in the Java EE Application Client environment.
  • If the server is one of cluster members, the modification made on server will be applied to all cluster members automatically.

Procedure

  1. Log in your administrative console.
  2. Select Servers from the navigation panel and click Server Types.
  3. Under Server Types, select WebSphere application servers.
  4. Click the link for the server that you want to configure, such as server1.
  5. On the Configuration tab, expand the Container Services content list under the Container Settings section and click the Default JAX-RS Settings link.
  6. On this page, you can view the supported JAX-RS providers, identify the current JAX-RS provider, and modify the selected JAX-RS provider for a server from the JAX-RS provider drop-down list.