[jboss-dev] JAXB Generated Classes with target 2.0

Jason T. Greene jason.greene at redhat.com
Tue Jul 24 17:02:18 EDT 2007


Adrian wrote:
> On Tue, 2007-07-24 at 13:28 -0500, Jason T. Greene wrote:
>> As to compatibility on schema updates, if you change the schema in a 
>> backwards compatible way its not a problem.
> 
> You mean like changing the schema namespace from j2ee to javaee. ;-)

Yeah, for that you would have to either regenerate classes, or 
alternatively change the annotations on all classes that refer to it.

If you want something more dynamic, the Sun implementation does allow 
you to write your own "AnnotationReader", but this is not in the spec.

-- 
Jason T. Greene
Lead, POJO Cache
JBoss, a division of Red Hat



More information about the jboss-development mailing list