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
You will now build two applications—one that uses the SAX API and one that uses DOM.
18.116.15.161