Had to figure this same thing out a couple weeks ago, posted it here:
http://blog.spaceprogram.com/2008/10/using-jaxb-without-annotations.html
Travis
On Thu, Oct 9, 2008 at 12:19 PM, John O'Conner <john_at_joconner.com> wrote:
> 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.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>