This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.
Java RESTful Services 2.0
This feature enables support for Java API for RESTful Web Services. JAX-RS annotations can be used to define web service clients and endpoints that comply with the REST architectural style. Endpoints are accessed through a common interface that is based on the HTTP standard methods.
Enabling this feature
To enable the Java RESTful Services 2.0 feature, add the following element declaration inside the featureManager element in your
server.xml file:
<feature>jaxrs-2.0</feature>
Developing a feature that depends on this feature
If you are developing a feature that depends on the Java RESTful Services 2.0 feature, include the following item in the Subsystem-Content header in the feature manifest file for your new feature:
com.ibm.websphere.appserver.jaxrs-2.0; type="osgi.subsystem.feature"
Features that this feature enables
Features that enable this feature
Feature configuration elements
You can use the following elements in your server.xml file to configure the Java RESTful Services 2.0 feature: