users@jersey.java.net

Re: [Jersey] Jersey with JAXB

From: John O'Conner <john_at_joconner.com>
Date: Thu, 9 Oct 2008 12:19:05 -0700

On Thu, Oct 9, 2008 at 7:52 AM, Robert Naczinski
<robert.naczinski_at_googlemail.com> wrote:
> Hello,
>
> I know Jersey supports JAXB very well. Is There a tutorial to start
> with JAXB on Jersey?
>

Hi Robert,

Thanks for asking this question. I also am curious about how to use
JAXB with Jersey. However, my particular problem is perhaps not really
a Jersey issue. Still, if anyone here can help, I'd be delighted.

I need to learn how to use JAXB to create an xml representation of an
unannotated Java class. I cannot annotate the original Java class, but
I do need to represent it as xml. Any ideas about how this can be
accomplished?

Regards,
John O.