users@jersey.java.net

Re: [Jersey] json + xml together

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Tue, 31 Mar 2009 13:33:28 -0400

Tatu Saloranta wrote:
> On Tue, Mar 31, 2009 at 9:24 AM, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:
>
>> On Mar 31, 2009, at 6:21 PM, Felipe Gaścho wrote:
>>
>>
>>> few months ago I noticed an example of dual response type (JSON +
>>> XML).. do you have this link ?
>>>
>>>
>> See the JSON from JAXB sample
>> http://download.java.net/maven/2/com/sun/jersey/samples/json-from-jaxb/1.0.2/json-from-jaxb-1.0.2-project.zip
>>
>
> Paul, would it be possible to also add a link to something browsable
> (source repository viewer)? It's bit of a pain to download and unzip
> the bundle, if it's done just occasionally (I have had this happen a
> few times)
>

Why not just checkout the jersey source code from svn:

<https://jersey.dev.java.net/source/browse/jersey/>

and then open the corresponding project in a maven supporting IDE like
NetBeans?

That works for me. I just need to translate the URL Paul gives for a
sample to a sample project in jersey source code.

-- 
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com