[jboss-dev] JAXB Generated Classes with target 2.0
Adrian
abrock at redhat.com
Tue Jul 24 14:51:14 EDT 2007
We really need to get this released properly
which does support schema/object model changes
(including sharing classes across schemas)
without having to redo everything:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=101041
That is until JAXB gets around to supporting something
that actually solves real world usecases, like inheritance
and polymorphism. :-)
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6516905
On Tue, 2007-07-24 at 13:25 -0500, Anil Saldhana wrote:
> I do not think there is an answer to it apart from the fact that you can
> generate the classes into a single package. No other support.
>
> Here is the discussion that I started with no response.
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=113388
>
> Adrian wrote:
> > Yuck! Don't you have a create a whole new set of packages/classes for
> > ever change in the namespace/version?
> >
> > Or has JAXB fixed that now?
> >
> > How's anybody else supposed to programmatically use
> > your metadata if the classes change name with every release?
> >
> > On Tue, 2007-07-24 at 12:26 -0500, Anil Saldhana wrote:
> >
> >> If any of the projects are exploring JAXB2 generated classes, then I
> >> think it is advisable to set the target to be "2.0" such that the
> >> generated classes can be usable with JAXB2.0.x and none of the JAXB2.1
> >> leakages occur. I think JDK6 includes JAXB2.0.x
> >>
> >> I am no expert on JAXB2. But saw this while using the xjc command line
> >> tool.
> >>
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
More information about the jboss-development
mailing list