Configuring JAX-RS applications using JAX-RS 1.1 methods
You can configure Java API
for RESTful Web Services (JAX-RS) applications in multiple ways depending
on your needs. To take advantage of the Java Platform,
Enterprise Edition (Java EE)
6 functionality, you can use the annotation scanning capabilities.
By using annotation scanning, you can omit a JAX-RS javax.ws.rs.core.Application
subclass or have a minimally defined javax.ws.rs.core.Application
subclass.
Configuring the web.xml file for JAX-RS servlets
The web.xml file contains information
about the structure and external dependencies of web components in
the module and describes how the components are used at run time.
To enable the web container to run Java API
for RESTful Web Services (JAX-RS) applications, you can configure
the web.xml file to point directly to the IBM® JAX-RS servlet. When using servlets,
you can define a servlet path in the web.xml file
that is appended to the base URL.
Configuring the web.xml file for JAX-RS filters
The web.xml file contains information about the structure
and external dependencies of web components in the module and describes
how the components are used at run time. To enable the web container
to run Java API for RESTful
Web Services (JAX-RS) applications, you can configure the web.xml
file to define filters that indicate the possible URLs on which the
filter can be invoked.
Last updated: April 18, 2014 05:01 AM CDT http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-iseries&topic=container_wbs_jaxrs_goal_dev_configjaxrsapps File name: container_wbs_jaxrs_goal_dev_configjaxrsapps.html