[jboss-dev-forums] [Design of POJO Server] - Re: JAXBDeployer

jason.greene@jboss.com do-not-reply at jboss.com
Thu Jan 25 17:43:03 EST 2007


"scott.stark at jboss.org" wrote : How can this be specified via schema level annotations?
  | 

It reads everything directly from the Java annotations. The schema bindings just control the Java annotations that are generated when xjc is ran on the schema. So in order to have a plugable schema extension mechanism, you would have to have a way to register annotationed JAXB objects with some kind of MC context, and that would then be used to generate the JAXBContext that is responsible for unmarshalling the deployment descriptor. 

So the big difference here is that unlike JBossXB, there is no way to override the java annotations with schema annotations. This loss of flexibility is for performance reasons (no need to read/parse the schema at runtime).

-Jason

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006579#4006579

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006579



More information about the jboss-dev-forums mailing list