Plan to use JAX-RS to enable RESTful services
Java API for RESTful Web Services (JAX-RS) API defines a server-side component API to build REST applications. IBM JAX-RS provides an implementation of the JAX-RS (JSR 311) specification. JAX-RS is a faster way for developing web applications than servlets.
For client-side applications that consume RESTful services, most languages require no third-party libraries as long as there is a method to use an HTTP connection. The most prevalent clients are typically web browsers. For example, many Web 2.0 properties use a JavaScript framework such as Dojo toolkit for developing a client in a browser in conjunction with a RESTful server-side application that provides the data for the client.
Tasks
- Define the resources in your RESTful applications.
- Define the URI patterns for resources in RESTful applications.
- Define the client capabilities for RESTful applications using HTTP methods .
- Define the HTTP headers and response codes for RESTful applications using HTTP methods.
Overview of IBM JAX-RS Implement JAX-RS web applications Define the resources in RESTful applications Define resource methods for RESTful applications Define the HTTP headers and response codes for RESTful applications