Abstract
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 for access to web service resources, allowing web service methods to be invoked and passing zero or more parameters via a simple URI call from a web service client. RESTful web services can send responses that are in XML, JavaScript Object Notation (JSON), or other formats. The JAX-RS stack provides an annotation-rich architecture for designing web services, which makes it much easier for developers to produce powerful web services without XML configuration.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Josh Juneau
About this chapter
Cite this chapter
Juneau, J. (2013). Building RESTful Web Services. In: Introducing Java EE 7. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5849-0_8
Download citation
DOI: https://doi.org/10.1007/978-1-4302-5849-0_8
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-5848-3
Online ISBN: 978-1-4302-5849-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books