users@jersey.java.net

Re: [Jersey] XLink in Jersey

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 13 May 2009 17:51:15 +0200

On May 13, 2009, at 5:41 PM, Felipe Gaúcho wrote:

> yep, may be.. XLink is not actually a strict requirement..
>
> then, what is the best (+performance) way to link URLs in the response
> (JSON or XML) ?
>

See Brett's take on this:

http://markmail.org/search/?q=list%3Anet.java.dev.jersey.users+Brett#query
:list%3Anet.java.dev.jersey.users%20Brett+page:1+mid:tw5grz5mamd2fey6+state:results


> for now I am just including the URLs in an element .. and the client
> should "know" what is it..
>

HTML/AtomPub use a "rel" attribute on the link-associated element to
classify or type the link e.g. in atom:

   rel="edit"

to declare the link is an edit link that may be used to update or
delete an Atom entry.

Paul.


> On Wed, May 13, 2009 at 5:35 PM, Paul Sandoz <Paul.Sandoz_at_sun.com>
> wrote:
>>
>> On May 13, 2009, at 1:17 PM, Felipe Gaúcho wrote:
>>
>>> is there any Jersey support to XLink ?
>>>
>>
>> No plans, i suppose you mean support XLink in JAXB/Jersey ?
>>
>> AFAIK XLink is not widely implemented or used, but i could be
>> completely
>> wrong about that.
>>
>> Paul.
>>
>>> --
>>>
>>> Please help to test this application:
>>> http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>>
>
>
>
> --
>
> Please help to test this application:
> http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>