RL>I am a fairly new user to Castor, and I have a basic question I hope someone could
answer:
RL>
RL>is there a way to have Castor autogenerate the Java classes that implement
Persistent from an XSD?
RL>
RL>For example, the Product.java file that is used in the jdo example - could this
type of file be generated from an XSD using the sourceGenerator? It seems very similar
to the XML Binding files that are generated by default. I am wondering if anyone
autogenerates the JDO code as well, and if so, how?
RL>
-------
BS>Ross,

BS>See Castor XML's SourceGenerator:

BS>    http://www.castor.org/sourcegen.html

BS>It's possible that there may still be some very minor issues with what
BS>it generates and whether it's fully compatible with JDO.

BS>Bruce
 
Bruce, et all,
I was under the impression that the SourceGenerator only generates files for use in the XML Data Binding part of Castor, nothing for the JDO stuff. After reading the link you sent, as well as the pdf doc for the Source Generator, I didn't find anything to refute that. Is there anything that autogenerates the JDO code from an XSD, i.e. generating the Java classes that implement "Persistent"?
 
Thanks again,
Ross
 

 

Reply via email to