users@jersey.java.net

Re: [Jersey] Fast Infoset

From: Paul Sandoz <Paul.Sandoz_at_oracle.com>
Date: Tue, 5 Oct 2010 11:52:12 +0200

On Oct 4, 2010, at 10:06 PM, Markus Karg wrote:

> Yes, I know how I can register a producer. But I wonder whether
> support for
> Fast Infoset is provided out-of-the-box in JAXB and / or Jersey?

Yes.

See:

https://jersey.dev.java.net/nonav/documentation/latest/user-
guide.html#d0e3780

Paul.

>
>> -----Original Message-----
>> From: Tatu Saloranta [mailto:tsaloranta_at_gmail.com]
>> Sent: Montag, 4. Oktober 2010 19:11
>> To: users_at_jersey.dev.java.net
>> Subject: Re: [Jersey] Fast Infoset
>>
>> On Sat, Oct 2, 2010 at 6:18 AM, Markus KARG <markus_at_headcrashing.eu>
>> wrote:
>>> I wonder whether there is some sample somewhere that shows how to
>> make a
>>> JSR-311 implementation like Jersey actually produce and consume Fast
>> Infoset
>>> streams instead of "normal" XML streams?
>>
>> It should not really differ a lot from registering producers/
>> consumers
>> for any other type?
>> And since FI implements Stax API, should be quite easy.
>>
>> Samples would be nice of course, but if none existed should be quite
>> straight-forward to take one for other types, repurpose.
>> Especially since JAXB can take XMLStreamReader / Writer so you get
>> data binding 'for free'.
>>
>> -+ Tatu +-
>>
>> ---------------------------------------------------------------------
>> 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
>