The JAXP Packages
The JAXP APIs are defined in the javax.xml.parsers package, which contains two factory classes—SAXParserFactory and DocumentBuilderFactory.
The packages that define the SAX and DOM APIs are
javax.xml.parsers A common interface for different vendors' SAX and DOM parsers
org.w3c.dom Defines the DOM and all of the components of a DOM
org.xml.sax The SAX API
You will now build two applications—one that uses the SAX API and one that uses DOM.
Get Sams Teach Yourself J2EE™ in 21 Days now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.