Define the resources in JAX-RS web applications.

Before you begin

Configure the development environment.

About this task

Step 2 towards the goal: Using Java contexts and dependency injection with JAX-RS

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 20, 2014 08:46 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-mp&topic=twbs_jaxrs_jcdi_step2
File name: twbs_jaxrs_jcdi_step2.html