The JAXB documentation is like a text-book, and I simply don't have to time to learn everything JAXB before I need to use it.
I have an XSD, if I want to use JAXB to marshal and un-marshal what is the workflow?
I don't need any specifics just a high level view.
What I know already: 1. JAXB can be used to take objects and create XML documents from them and vice versa 2. It uses some mysterious tool named "XJC" which I haven't been able to find a download of ANYWHERE on their website 3. XJC creates classes for you based on XSD
First, How do I find XJC? I actually know that it's installed on my system, not sure where I got it from though.
Second, whatever this tool is and how it got to my machine, how do I make it run with the most up to date version of JAXB?
Third, so if my XSD changes do I really have to recreate the whole Java object, therefore possibly invalidating all my tests? Or can I define object to XSD mappings so that I'm in control of the mapping, not some default code generation?
I'm mostly used to taking XML and using something like xStream to manually unmarshal, but that's not an option for my purposes anymore.