On 2001.11.27 02:19:19 -0500 Holger Engels wrote: > On Mon, 26 Nov 2001, David Jencks wrote: > > > It's just an idea... > > > > What if > > > > --when we are doing j2ee spec compliant deployment we use xsl (or > something > > like it) to combine the 2 (or 3 or ...) dds into one unified dd that > can be > > processed in one pass. > > > > --we can also deploy the unified version directly for those who like > it. > > > > what if we use xslt to transform the deploymentdescriptors to jdk1.4's > longterm persistence format and let the task of parsing the xml and > instantiating the metadata beans to the java.beans.XMLDecoder .. this > would at least enhance maintainability.
Very interesting idea. I was playing with using jaxb for xml to object conversion, although there may be license issues with it. Offhand, it looks to me as if using the jdk 1.4 persistence format (I just read about it for 5 min or so) would involve some pretty heavy-duty xml transformations and require jdk 1.4. Jaxb appears (in very preliminary experiments) to be able to generate classes from the ejb 2 dtd and jbosscmp-jdbc dtd. sooo.. --jaxb requires using specially generated base classes but requires minimal xml transformation. License may make it unavailable (???? anyone else have an opinion about this???) --jdk 1.4 persistence can use regular classes but requires a lot of xsl, and jdb 1.4. Any one have experience with both or at least an opinion? Thanks david jencks > > > > > Good idea or am I nuts? > > > > .. definately I am ;-) > > Holger > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development