[jboss-dev-forums] [Design of JBossXB] - Re: JAXB annotations for OSGi Blueprint
alex.loubyansky@jboss.com
do-not-reply at jboss.com
Sat Jun 20 04:50:58 EDT 2009
You are on the right track, actually :)
You've specified the namespace using JBossXmlSchema annotation. Which is correct. You should still add namespace element to the XmlRootElement annotation, which is a bit confusing having JBossXmlSchema. You don't have to do that XmlElement annotations.
Unfortunately, we don't have JAXB tutorial for JBossXB. But you can find one for JAXB on Sun's web-site and use javadoc. For examples you can see tests in XB http://anonsvn.jboss.org/repos/common/jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/
And post issues here.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238869#4238869
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238869
More information about the jboss-dev-forums
mailing list