Doesnt JAXB score over DOM2 everytime? In the sense , if I have a document , I can marshall it into its object oriented version of interfaces and content trees.
So even if various parts of my app need to work on the
doc , I have the XML represented n these classes.
So when would I ever want to use DOM over JAXB??
Do let me know if my concepts are shaky.