CHAPTER 8

image

Building RESTful Web Services

The Java EE 6 platform introduced the Java API for RESTful Web Services (JAX-RS), enabling developers to easily develop powerful web services. RESTful web services are those that support the Representational State Transfer (REST) architectural style, which is an architecture for producing web services that focus on a system’s resources, specifically on how states are transferred over HTTP. JAX-RS web services are stateless, and they utilize HTTP methods explicitly by mapping methods of web service classes to HTTP protocols (GET, POST, PUT, DELETE) via annotations. A RESTful web service provides custom URIs ...

Get Introducing Java EE 7: A Look at What's New now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.