I converted the *-ds.xml file to a schema represenation
Should read ...converted the jboss-ds_1_X.dtd(s)
My fundamental problem with jaxb is that is drives the java model from schema/xml and as such has limitations. I want the java object model to be what it needs to be, not fit into something that jaxb can support.
An external mapping file can allow for differences in the xsd->object model if necessary. I could see this if they object model was something more than just dumb data containers, but in parsing deployment descriptors, that's exactly what the object model is. The meta data is just a wrapper of the underlying XML.
I guess I am seeing it in terms of
1) Code elimination
2) Ease of use
3) A technology that is already a part of our stack (at least this is what was discussed on one of the R&D conference calls)
The customization support in jaxb was not sufficient for handling object/xml mapping in the past. The parsing required of the jboss.xml file is an example.