+

Search Tips   |   Advanced Search

Define resources in JAX-RS web applications.

Configure the development environment.

Parent

Use content negotiation to serve multiple content types in JAX-RS applications

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 the application, we can make the service more useful and easier to develop.


What to do next

Configure the JAX-RS application.


Subtopics


Related tasks

  • Define the resources in RESTful applications
  • Define the URI patterns for resources in RESTful applications
  • Define resource methods for RESTful applications
  • Define the HTTP headers and response codes for RESTful applications
  • Define media types for resources in RESTful applications
  • Define parameters for request representations to resources in RESTful applications
  • Define exception mappers for resource exceptions and errors