Plan to use JAX-RS to enable RESTful services
JAX-RS provides a faster way for developing web applications than servlets. JAX-RS 1.0 defines a server-side component API to build REST applications. IBM JAX-RS provides an implementation of the JAX-RS (JSR 311) specification.
Due to the simple consumption of RESTful services, we can write clients in many languages on different platforms. Most languages require no third-party libraries as long as there is a method to use an HTTP connection. Clients are typically web browsers. 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.
- Review existing applications to determine which services to implement as REST services.
- Define the resources in the RESTful applications.
- Determine the URL patterns, operations, and media type formats to use for each resource.
Results
You have a design plan for using JAX-RS to implementing REST services.
Related tasks
Overview of Java API for RESTful Web Services (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