XML Parser APIs

WebLogic Server's support for XML consists of the following:

  • SAX and DOM API parsers

  • WebLogic XML Streaming API

  • JAXP

You will now take a quick look at each of these features in the following sections. To begin with, you'll look at the first way to parse data: using the SAX parser.

SAX API

SAX is short for the simple API for XML. It was the first parser available to parse the contents of an XML file. The SAX parser is a Java parser that provides an API for applications to use for processing XML documents. The major advantage of SAX is that it is an event-based API. An event-based API is faster in terms of processing. This is because the XML parser performs minimal processing. The major responsibility for processing the contents of ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ 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.