This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
given an XML file, its schema, how can I obtain an Java Object(s) representation mapping to the XML ?
1. I googled and found "Castor" is one. Any other tool can be used to convert XML file with schema into Java Objects ?
2. What do I need to 'prepare' if I use Castor to generate the Java Object(s) for me ? I assume that besides the XML file, I need the java class format, and some kind of mapping file showing the relation between class instance variables and XML elements/attributes, is that right ? anything else ?