Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

rest-discuss · The REST Architectural Style List

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 1889
  • Category: Protocols
  • Founded: Nov 13, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Java Frameworks That Support HATEOS   Topic List   < Prev Topic  |  Next Topic >
Summarize Messages Sort by Date  
#17694 From: "jason_h_erickson" <jason@...>
Date: Wed Aug 24, 2011 2:57 am
Subject: Java Frameworks That Support HATEOS
jason_h_eric...
Send Email Send Email
 
I've been using Jersey (JAX-RS) which really leverages JAXB to serialize your objects into XML and JSON.  When I started this project last year, that seemed like a really good idea to me because, like many, my idea of REST was really just JSON and XML over HTTP.

However, I haven't really used it for HATEOS.  I think later versions of Jersey support adding URI's, so maybe it's still a sufficient framework and I just haven't been using it that way.  What are others using or are people just rolling their own resources?

#17695 From: David Karr <davidmichaelkarr@...>
Date: Wed Aug 24, 2011 3:11 am
Subject: Re: Java Frameworks That Support HATEOS
davidmichael...
Send Email Send Email
 
On Tue, Aug 23, 2011 at 7:57 PM, jason_h_erickson <jason@...> wrote:
 

I've been using Jersey (JAX-RS) which really leverages JAXB to serialize your objects into XML and JSON.  When I started this project last year, that seemed like a really good idea to me because, like many, my idea of REST was really just JSON and XML over HTTP.


However, I haven't really used it for HATEOS.  I think later versions of Jersey support adding URI's, so maybe it's still a sufficient framework and I just haven't been using it that way.  What are others using or are people just rolling their own resources?

I use Apache CXF to build my REST services, but building HATEOAS principles into your services doesn't really require any additional technology support.  You can define ad hoc elements that contain pointers to other information, you don't need to define a "link" element in its own namespace (as described in REST in Practice, for instance). Generating a URL is really a trivial thing.  Designing the flow of your application is the bigger task, and neither Jersey or CXF can help you much with that.



 
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help