Determine the correct XML parser type for a Java application
Free XML Parser Tutorial: XML parsers based on either the Document Object Model (DOM) or the Simple API for XML (SAX) each provide unique advantages. The choice depends on such requirements as throughput, response time, and resource usage. This free XML parser tutorial has considered the analysis of XML parsing alone. The importance of efficient parsing depends on usage. Learn more about Java XML parsers for Java XML, HTML, SGML parsing and more.

by Padma Apparao, senior performance architect, Software Solutions Group, Intel Corp.

Parsers based on either DOM or SAX each provide unique advantages; requirements such as throughput, response time, and resource usage should guide the choice between one or the other.

The benefits of XML spring primarily from the standard's inherent flexibility and its suitability for use with any kind of data at any depth of complexity. The extensibility features of XML enable one to define new tags as needed. XML also provides validation checks for structural correctness of documents by defining Data Type Definitions (DTDs) and Schemas. XML also provides media independence to publish content in multiple formats.

The portability and extensibility of both XML and Java technology make them a solid choice for the flexibility and wide availability requirements of the Web. Java revolutionized the programming world by providing a platform- independent programming language. XML takes the revolution a step further with a platform-independent language for interchanging data. The two together make the entire solution of building and deploying applications a portable one.

As XML is evolving as a standard for data communication, Intel is working to optimize the software stack on Intel® architecture, as well as looking for opportunities to build features into the silicon that will benefit XML processing technologies. This article reviews some of the things that Intel is doing to understand and enhance what lies under the hood for XML processing, to enhance our contributions in that space.

The primary XML parser technologies are SAX and DOM
An XML document first has to be parsed, and after that, several operations can be performed on it. The processing can take the form of XPath, XSLT, XQuery, and other operations. In this paper, I will discuss only XML parsing and the performance results from a series of experiments. There are two main technologies for XML parsing: the Simple API for XML (SAX) and the Document Object Model API (DOM).

Subscribers who liked this article also read:
Intel Itanium microarchitecture support for .NET and Java
by Matt Gillespie, technical author and editor. Intel Corp. The Int...

If you're interested in this topic, these articles may be helpful:

XMLSpy Home Edition 2005
from Altova Altova XMLSpy 2005 Home Edition is a free entry level X...
Scaling XML parsing on Intel architecture
By Andy Longshaw, Content Master Ltd. Intel Corp. XML provides many b...
Elements and attributes: modeling relational data in XML, part 1
by Kevin Williams, founder and CEO, Blue Oxide Technologies. Intel Cor...
Semantic interoperability with universal data element framework
by Neelima Vobugari, XML certified independent software consultant. ...

Related Jobs:

Kernel Developer #14302 - CA - Burlingame - Radiant Systems, Inc
Description ANTs software inc. has developed a high-speed relational...
Sr. QA Engineer- Kroll Ontrack #EDE0007D - MN - Eden Prairie - Marsh Inc.
Sr. QA Engineer- Kroll Ontrack- Eden Prairie, MN - RA – EDE0007D ...
Technical Yahoo - Research Engineer #6241 - CA - Burbank - Yahoo! Inc.
Technical Yahoo - Research Engineer Requisition ID 6241 Location B...
Software Development Engineer in Test #136003 - WA - Redmond - Microsoft Corporation
Are you passionate about software quality? Do you want to influence th...
Senior Software Engineer (Web or Windows) #3025086 - CA - Dublin - Ajilon
Description : MULTIPLE OPENINGS. SR. SOFTWARE ENGINEER - ON WEB OR WI...
Kernel Developer #14301 - CA - Burlingame - Radiant Systems, Inc
Description ANTs software inc. has developed a high-speed relational...
Senior Software Engineer, Online Search Development #13B990DAFA945403 - NJ - Edison - Ask Jeeves,Inc.
Title Senior Software Engineer, Online Search Development City Ediso...
System Engineer #2007RSA-THAUW84713IL33 - CO - Colorado Springs - Computer Sciences Corporation
Principal Duties and Essential Job Functions: Represents the FTO as s...
Applications Administrator- Kroll Ontrack #EDE000CN - MN - Eden Prairie - Marsh Inc.
Applications Administrator- Kroll Ontrack- Eden Prairie, MN – EDE000...
Senior Software Engineer, Online Search Development #2E47E5FFAD08ABB2 - NJ - Edison - Ask Jeeves,Inc.
Title Senior Software Engineer, Online Search Development City Ediso...