Jakarta RESTful Web Services Client
4.0
3.1
3.0
2.1
2.0

This feature enables support for the Jakarta RESTful Web Services 3.1 Client API.

Jakarta RESTful Web Services, formerly known as JAX-RS, is a Jakarta EE platform API. In Open Liberty 21.0.0.12 and later, you can use Jakarta RESTful Web Services 3.0 client functions by enabling the RESTful Web Services Client 3.0 feature. The JAX-RS 2.0 and 2.1 client implementations are available through the Java RESTful Services Client feature (jaxrsClient-2.0 and jaxrsClient-2.1). The change in feature name and version reflects the change in API package name prefixes from javax.* to jakarta.*, which is common to all Jakarta EE 9.1 features. For more information, see Differences between Jakarta RESTful Web Services 3.0 and Java Restful Services (JAX-RS).

Enabling this feature

To enable the Jakarta RESTful Web Services 3.1 Client feature, add the following element declaration into your server.xml file, inside the featureManager element:

<feature>restfulWSClient-3.1</feature>

Standard API packages provided by this feature

  • jakarta.activation

  • jakarta.annotation

  • jakarta.annotation.security

  • jakarta.annotation.sql

  • jakarta.ws.rs

  • jakarta.ws.rs.client

  • jakarta.ws.rs.container

  • jakarta.ws.rs.core

  • jakarta.ws.rs.ext

  • jakarta.ws.rs.sse

Liberty API packages provided by this feature

Features that this feature enables

Supported Java versions

  • JavaSE-11.0

  • JavaSE-17.0

  • JavaSE-21.0

  • JavaSE-25.0

  • JavaSE-26.0

Platform Versions

  • jakartaee-10.0

Developing a feature that depends on this feature

If you are developing a feature that depends on this feature, include the following item in the Subsystem-Content header in your feature manifest file.

io.openliberty.restfulWSClient-3.1; type="osgi.subsystem.feature"