dev@jersey.java.net

Re: Compiling Jersey from Subversion

From: Clint Combs <clint_at_puzzlecode.com>
Date: Mon, 7 Jan 2008 22:56:21 -0500

Hi, I'm now subscribed with this e-mail address. I am using Java 6 w/
NetBeans so that's probably the issue. Is there any advantage to using JAXB
2.1 at this point?

-Clint

On 1/7/08, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:
>
>
> My guess is Clint is using JAXB version that is as part of SE 6? (namely
> JAXB 2.0 API). In that API there is no method for:
>
> Marshaller.marshal(Object, File)
>
> Compare the Marshaller of 2.1 [1] with 2.0 [2].
>
> Jersey is using and provides the JAXB 2.1 API. (IIRC JAXB 2.1 will be
> available in a stable update release of SE 6 at some point).
>
> Hmm... we could easily change this so JAXB 2.0.x and 2.1.x are
> supported. In the 0.4 release we did have a runtime dependency on the
> 2.1.x RI but now i don't think we do.
>
> Paul.
>
> [1]
>
> https://jaxb.dev.java.net/nonav/2.1.5/docs/api/javax/xml/bind/Marshaller.html
> [2]
>
> https://jaxb.dev.java.net/nonav/2.0.4/docs/api/javax/xml/bind/Marshaller.html
>
>
>