As DOM and SAX, my JAXB has 5 files: one main java file and other 4 "real" parser.
The structure of the files are almost the same. The main difference is that JAXB use marshall and unmarshall techniques. That means it can create "beans" from the XML Schema files and vice versa. So, you don't have to use the "beans" created and used in DOM and SAX parsers.