Define resources in JAX-RS web 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.
Subtopics
- 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
What to do next
Configure the JAX-RS application.
Previous: Configure the development environment.
Parent
Related tasks
Define the resources in RESTful applicationsDefine 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