Monday, August 03, 2009

JAX-RS and Jersey

I spent the better part of the day messing with Jersey, an implementation of JAX-RS. I really like the built-in support for XML and JSON, as well as the JSONP support. The one thing that feels missing is some build-in support for creating lists of URIs. For example, if you have a User resource at Path .../user/JDoe, then plain old ".../user" ought naturally to return a list of URIs, one for each User. It would be nice if there was some support for that in the framework. Other than that, I really like JAX-RS and Jersey.

I'll probably wind up implementing my own providers for generating simple HTML pages and JSONP-HTML.

No comments:

Post a Comment