Book Image

Java EE 7 Development with NetBeans 8

By : David R Heffelfinger
5 (1)
Book Image

Java EE 7 Development with NetBeans 8

5 (1)
By: David R Heffelfinger

Overview of this book

Table of Contents (18 chapters)
Java EE 7 Development with NetBeans 8
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 10. RESTful Web Services with JAX-RS

Representational State Transfer (REST) is an architectural style in which web services are viewed as resources and can be identified by Uniform Resource Identifiers (URI).

Web services developed using the REST style are known as RESTful web services. Java EE 6 added support to RESTful web services through the addition of the Java API for RESTful Web Services (JAX-RS). JAX-RS has been available as a standalone API for a while, but it became part of Java EE in version 6 of the specification.

One very common use of RESTful web services is to act as a frontend to a database, that is, RESTful web service clients can use a RESTful web service to perform CRUD (short for create, read, update, and delete) operations in a database. Since this is such a common use case, NetBeans includes outstanding support for this—allowing us to create RESTful web services that act as a database frontend with a few simple mouse clicks.

Here are some of the topics we will...