Hi, I am now digging in to Schema model to populate information from the JAXB classes. I am writing code to look at the JAXB generated classes, using JAM, and create a schema model. In the first pass I will not look at the annotations. First pass will be to look at only the java object and dedude the schema. In the second phase, I will look at JAXB annotations and employ those information also to build the model. I have few questions in doing that.
1. Is there a code which already looks at a set of java classes and building a schema model? I am asking this as I do not want to re-invent the same thing. 2. Is there any aid like a document to learn a bit about schema model? So far the only help was to look at the code in Marshallers and Un-Marshallers. I just want to know just the basics to make sure the way I am using it correct. 3. When I was coding with JAM, I found same set of classes appearing inside castor also. What are these? Does that mean there is a similar code already in the code base? 4. Where will be my code go? Any suggestions for the module and java package name? Please help me to find answers to the above questions. Thanks, SD