5 Replies Latest reply on May 12, 2006 3:30 AM by thomas.diesler

    JAXB 2.0

      Does 4.0.4.CR2 support JAXB 2.0 with annotations ?

        • 1. Re: JAXB 2.0

          'support' is a broad term. Can you describe want you want to do with it?

          • 2. Re: JAXB 2.0

            To start, I am trying to use a simple annotated class (@XmlRootElement), create a JAXBContext, and marshal it using that JAXBContext.

            What I am seeing, is that if I use the JAXB 2.0 RI, JBoss doesn't recognize the annotation, and I get a JAXBException relating to the class not having the required annotations, and if I try and use the JBoss jars, the JAXBContext does not want to initialize correctly.

            The example is stated a few posts below this one in a post called JAXB Marshaling Exception.

            • 3. Re: JAXB 2.0
              thomas.diesler

              jbossws-1.0.0.GA does not support JAXB annotation

              • 4. Re: JAXB 2.0
                mcorey

                Is a full implementation of the JAXB 2.0 spec on the roadmap for JBoss WS?

                • 5. Re: JAXB 2.0
                  thomas.diesler

                  Yes, JAXB-2.0 is mandated by J2EE-5.0