Self-descriptive messages: Resources are decoupled from their representation so that their content can be accessed in a variety of formats, such as HTML, XML, plain text, PDF, JPEG, JSON, and others. See Responding to HTTP Methods and Requests for more information. POST transfers a new state onto a resource. GET retrieves the current state of a resource in some representation. PUT creates a new resource, which can be then deleted by using DELETE. Uniform interface: Resources are manipulated using a fixed set of four create, read, update, delete operations: PUT, GET, POST, and DELETE. See The Annotation and URI Path Templates for more information. Resources are identified by URIs, which provide a global addressing space for resource and service discovery. Resource identification through URI: A RESTful web service exposes a set of resources that identify the targets of the interaction with its clients. The following principles encourage RESTful applications to be simple, lightweight, and fast: In the REST architecture style, clients and servers exchange representations of resourcesīy using a standardized interface and protocol. The REST architectural style constrains an architecture toĪ client/server architecture and is designed to use a stateless communication protocol, typically The resources are acted upon by usingĪ set of simple, well-defined operations. Uniform Resource Identifiers (URIs), typically links on the Web. The REST architectural style, data and functionality are considered resources and are accessed using Scalability, and modifiability, that enable services to work best on the Web. That if applied to a web service induce desirable properties, such as performance, (REST) is an architectural style that specifies constraints, such as the uniform interface, RESTful web services are built to work best on the Web. Introduction to Java EE Supporting Technologies Part VIII Java EE Supporting TechnologiesĤ3. Getting Started Securing Enterprise Applications Getting Started Securing Web ApplicationsĤ1. Introduction to Security in the Java EE PlatformĤ0. Using a Second-Level Cache with Java Persistence API Applicationsģ9. Controlling Concurrent Access to Entity Data with Lockingģ8. Creating and Using String-Based Criteria Queriesģ7. Using the Criteria API to Create Queriesģ6. Introduction to the Java Persistence APIģ5. Running the Advanced Contexts and Dependency Injection Examplesģ2. Contexts and Dependency Injection for the Java EE Platform: Advanced Topicsģ1. Running the Basic Contexts and Dependency Injection Examplesģ0. Introduction to Contexts and Dependency Injection for the Java EE PlatformĢ9. Part V Contexts and Dependency Injection for the Java EE PlatformĢ8. Using Asynchronous Method Invocation in Session Beans Using the Embedded Enterprise Bean ContainerĢ7. To Create a RESTful Web Service Using NetBeans IDEĬomponents of the rsvp Example ApplicationĢ3. Using and to Customize Requests and Responses Using Entity Providers to Map HTTP Response and Request Entity Bodies The Request Method Designator Annotations Developing RESTful Web Services with JAX-RS