users@jersey.java.net

Re: [Jersey] Fast Infoset

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Mon, 4 Oct 2010 10:11:21 -0700

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