« Return to Thread: Achieving HATEOAS with JAXB

Achieving HATEOAS with JAXB

by metro-3 :: Rate this Message:

Reply to Author | View in Thread

Over the past few days, I've been working to familiarize myself with the various technologies used to implement RESTful web services.  After reviewing several different approaches on the web, I decided to annotate my resource objects and return them, allowing Jersey and JAXB to translate the POJO into the appropriate MIME type.  I am very impressed with how simple it was to use.

Now that I have a POXy-like attempt at a RESTful web service, I'd like to take it to the next level and apply the premise of HATEOAS.  The problem I see, however, is that there is really no way to embed the links necessary to make the generated xml/json file properly descriptive of the actions available in the representation.

What techniques have JAXB users employed to achieve HATEOAS?
[Message sent by forum member 'jabekb' (jabekb)]

http://forums.java.net/jive/thread.jspa?messageID=353928

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Achieving HATEOAS with JAXB