users@jersey.java.net

RE: [Jersey] Fast Infoset

From: Markus Karg <markus.karg_at_gmx.net>
Date: Mon, 4 Oct 2010 22:06:59 +0200

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?

> -----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