The JAX-RS 2.0 specification, which will be released as part of Java EE 7, provides annotations for building RESTful web services. It says very little about hypermedia, however. This article shows how JAX-RS web services can be implemented using standard Groovy simplifications and includes hypermedia through structural links, transitional links, and a MessageBodyWriter.
Ken Kousen is a Java Champion, Oracle Groundbreaker Ambassador, and a Grails Rock Star. He is the author of the O'Reilly books “Modern Java Recipes” and “Gradle Recipes for Android” and the Manning book “Making Java Groovy”. He also has recorded over a dozen video courses for the O'Reilly Learning Platform, covering topics related to Android, Spring, Java, Groovy, Grails, and Gradle.
In 2013, 2016, and 2017 he won a JavaOne Rockstar award. His academic background include BS degrees in Mechanical Engineering and Mathematics from M.I.T., an MA and Ph.D. in Aerospace Engineering from Princeton, and an MS in Computer Science from R.P.I. He is currently President of Kousen IT, Inc., based in Connecticut.