With JAX-RS 2.0 initial support for HATEOAS was introduced with building Link headers (server side) and following them (client side).
With JAX-RS 2.1 this support should get improved by a declarative way of defining links. JAYWAY provided an idea how this could look like in an HATEOAS talk available on YouTube (https://www.youtube.com/watch?v=CcQE9481lMs) and I'd like to propose a discussion on their proposal for 2.1.
In a nutshell, the idea is to have a @Rel annoation which declares the relationship type (hence a potential link) to other resources within a resource class. An entity interceptor could use reflection to build link headers from that meta information and add these to the response.
As a result, no more dealing with .link() is needed on the server side when implementing a RMM Level 3 application, which makes the server sided code much cleaner and technology-free (pure application objects).