Define the resources in JAX-RS web applications.

Before you begin

Configure the development environment.

About this task

Step 2 towards the goal: Using content negotiation to serve multiple content types in JAX-RS applications

Procedure

Resources are the basic building block of a RESTful service. Resources can contain static or dynamically updated data. Examples of resources from an online book store application include a book, an order from a store, and a collection of users. By identifying the resources in your application, you can make the service more useful and easier to develop.

What to do next

Configure the JAX-RS application.
Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 18, 2014 05:01 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-iseries&topic=twbs_jaxrs_contentnegotiation_step2
File name: twbs_jaxrs_contentnegotiation_step2.html