Planning JAX-RS Web applications

  • Planning to use JAX-RS to enable RESTful services

    By using the Java API for RESTful Web Services (JAX-RS) API, application developers can quickly develop RESTful applications. When planning to use JAX-RS to enable RESTful services, consider how to best implement the capabilities and characteristics of a RESTful application with JAX-RS.

  • Defining the resources in RESTful applications

    You can use Java API for RESTful Web Services (JAX-RS) to develop services that follow Representational State Transfer (REST) principles. RESTful services are based on manipulating resources. Resources can contain static or dynamically updated data. By identifying the resources in your application, you can make the service more useful and easier to develop.

  • Defining the URI patterns for resources in RESTful applications

    Representational State Transfer (REST) services are based on manipulating resources. Resources for RESTful services are addressable, and URLs are the primary way of achieving addressability in REST.

  • Defining resource methods for RESTful applications

    Individual resources can define their capabilities using supported HTTP methods. In Representational State Transfer (REST) services, the supported methods are GET, PUT, DELETE, and POST. All operations are typically conducted by using one of the predefined HTTP methods with a resource.

  • Defining the HTTP headers and response codes for RESTful applications

    HTTP headers and status codes are useful to help intermediary and client programs understand information about requests and responses for applications. HTTP headers contain metadata information. HTTP status codes provide status information about the response.

  • Defining media types for resources in RESTful applications

    Resources are represented by many different formats. XML, JavaScript Object Notation (JSON), Atom, binary formats such as PNG, JPEG, GIF, plain text, and proprietary formats are used to represent resources. Representational State Transfer (REST) provides the flexibility to represent a single resource in multiple formats.

  • Defining parameters for request representations to resources in RESTful applications

    Parameters are used to pass and add additional information to a request. You can use parameters as part of the URL or in the headers. Path parameters, matrix parameters, query parameters, header parameters, and cookie parameters are useful for passing in additional information to a request.

  • Using the IBM JAX-RS Hello World sample

    The product provides a Hello World sample that demonstrates a simple Representational State Transfer (REST) application using the IBM® Java API for RESTful Web Services (JAX-RS) implementation.

  • Using the IBM JAX-RS Guest book sample

    The product provides a Guest book sample that demonstrates a simple Representational State Transfer (REST) application using the IBM Java API for RESTful Web Services (JAX-RS) implementation.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Sep 6, 2012 5:50:55 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v610webmob&product=was-nd-mp&topic=container_wbs_jaxrs_goal_planning
File name: container_wbs_jaxrs_goal_planning.html