O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required