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

jason.greene@jboss.com do-not-reply at jboss.com
Fri Jan 26 14:04:25 EST 2007


"adrian at jboss.org" wrote : "jason.greene at jboss.com" wrote : Or different schemas need to be associated with the same object model. 
  |   | -Jason
  | 
  | Yes, this is also broken as well. :-)
  | 
  | The namspace is associated with the
  | package level annotation rather the root element.
  | This is a basic reusability issue.
  | 

The package level namespace declaration in JAXB is just a default value for convenience purposes. You can specify the namespace on XmlType and XmlRootElement. 

What I meant is that the you can't have both the ejb2.1 schema and ejb3 schema map to the same objects.

-Jason

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

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



More information about the jboss-dev-forums mailing list