users@jersey.java.net

Re: [Jersey] Providers

From: Craig McClanahan <Craig.McClanahan_at_Sun.COM>
Date: Fri, 26 Jun 2009 16:22:08 -0700

Sudhakar Kumar wrote:
> Are there some detailed examples or documentation that will help me
> learn the correct usage of MessageBodyReaders and Writers? Examples
> that return a complex Java type or even better a collection of such
> types (GenericEntity?) will be helpful.
>
> Thanks
> - Sudhakar.
>
> ------------------------------------------------------------------------
> Insert movie times and more without leaving HotmailŪ. See how.
> <http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009>
The "jsonp" and "jaxb" sample apps contain examples of using
GenericEntity for collections.

There are also examples of provider implementations (grep for
'_at_Provider' on all the java sources) in the "storage-service, "jsonp",
"entity-provider", "https-clientserver-grizzly", "jmaki-backend",
"atompub-contacts-server", "json-from-jaxb", and "jersey-ejb"
 sample apps. Plus, some significant implementations in the
"jersey-atom-abdera" and "jersey-multipart" libraries in the "contribs"
area.

Craig