dev@jersey.java.net

Re: Resource model

From: Doug Kohlert <Doug.Kohlert_at_Sun.COM>
Date: Tue, 25 Sep 2007 12:47:47 -0700

Great, that is what I will do.

Thanks

Marc Hadley wrote:
> On Sep 25, 2007, at 2:35 PM, Doug Kohlert wrote:
>> I am working on a Resource model that can be used at tool time and
>> runtime to model a resource.
>> How tightly coupled should I make this to the jersey classes? For
>> example, should I be storing
>> a String[] or a MediaTypeList?
>
> We may want to add the Resource model to the JSR 311 API so we can
> support annotation-challenged environments. With that in mind I think
> you should steer clear of internal Jersey classes where possible but
> feel free to use any JSR 311 classes/interfaces. E.g. the above could
> be MediaType[] or List<MediaType> but not MediaTypeList.
>
> Marc.
>
> ---
> Marc Hadley <marc.hadley at sun.com>
> CTO Office, Sun Microsystems.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: dev-help_at_jersey.dev.java.net
>