Thanks,
Bill
Jung , Dr. Christoph wrote:
-----Urspr�ngliche Nachricht-----
Von: Scott M Stark [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 4. November 2003 01:13
An: Jung , Dr. Christoph
Cc: 'Thomas Diesler'; '[EMAIL PROTECTED]'; 'Bill Burke'
Betreff: Re: AW: Jboss: XML binding for jboss.net
Because this becomes an element and type in the jaxb binding I have two interfaces and two impl classes that really are not needed. Expand this across all the j2ee descriptors and there are hundreds of extra classes.
So while the notion of jaxb seems good, the ability to control arbitray xml to object model mappings is way too simple. I need to look into what Hibernate can do currently.
I guess that JAXB is really focussed on presenting an alternative, typed DOM and for that purpose Java class schemas and XML schemas more or less mirror each other. I would have expected more freedom here given the amount of publicity they gave to this API.
Now I see two options:
- Using a full-fledged mapping tool (maybe introducing some processing/code dependency overhead?) to bridge the un-java-like deployment schemas. There should be some products out there which already go beyond JAXP, question is if they are open source.
- Using XSLT to transform the deployment DOM into a Java DOM which is then processed by JAXB. So you would rather first design the internal meta-data, then derive Java schemas and then define a transformation from dd schemas. (which does not seem to be more manageable than what we currently have).
Best, CGJ ###########################################
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/
-- ================ Bill Burke Chief Architect JBoss Group LLC. ================
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
