Java Reference
In-Depth Information
9.7. Summary
The topic of RESTful web services is very hot these days, for good reason. The REST ar-
chitecture enables developers to build flexible, highly decoupled applications that take ad-
vantage of the same features that made the web itself so successful.
In the Java world many libraries are available for implementing the REST architecture.
This chapter focused on the JAX-RS 2.0 specification and how Groovy can be used with
it. In addition to the basic URL-driven database, hypermedia can be implemented using
transitional links in the HTTP headers, structural links in the entity bodies, or even through
a Groovy JsonBuilder . Hopefully some combination of techniques in this chapter will
enable you to build the service you want.
Search WWH ::




Custom Search