Configuring JAX-RS web applications

  • 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.

Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 3:08:41 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-zos&topic=container_wbs_jaxrs_goal_dev_configjaxrsapps
File name: container_wbs_jaxrs_goal_dev_configjaxrsapps.html