In what scenarios do we prefer JAXP over JAXB? I'm currently exploring on JAXB to perform a task and as far as I read through JAXB, I understand that XML processing is straight forward without the need to use SAX or DOM. Given this advantage, what is the need for JAXP?
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
There are few things that come only with advantages, and no disadvantages :-)
Having JAXB create all those objects carries a performance overhead, plus the need to have all those classes in the first place. Also, SAX code is more stable in the face of changing document structure - if you use JAXB, then your classes need to match the document, or there'll be problems.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com