The Artima Developer Community
Sponsored Link

Java Buzz Forum
DOM vs SAX Parser in Java - XML Parsing in Java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Javin Paul

Posts: 1090
Nickname: javinpaul
Registered: Jan, 2012

Javin Paul is Java Programmer working on Finance domain.
DOM vs SAX Parser in Java - XML Parsing in Java Posted: Sep 22, 2012 4:06 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Javin Paul.
Original Post: DOM vs SAX Parser in Java - XML Parsing in Java
Feed Title: Java67
Feed URL: http://www.java67.com/feeds/posts/default?alt=rss
Feed Description: Java and technology tutorials, tips, questions for all programmers.
Latest Java Buzz Posts
Latest Java Buzz Posts by Javin Paul
Latest Posts From Java67

Advertisement


DOM vs SAX parser in Java
DOM and SAX parser are two most popular parser used in Java programming language to parse XML documents. DOM and SAX concept are originally XML concept and Java programming language just provide an API to implement these parser. Despite both DOM and SAX are used in XML parsing, they are completely different to each other. In fact difference between DOM and SAX parser is a popular Java interview question asked during Java and XML interviews. DOM and SAX parser has different way of working, which makes Java programmer to understand difference between DOM and SAX parser even more important. Careless use of DOM parser may result in java.lang.OutOfMemoryError if you try to parse a huge XML file and with small heap size while careless use of SAX parser may result in poor performance while parsing small and medium sized XML files with good enough heap space in Java. In this Java article we will compare DOM and SAX parser and learn difference between them.
Read more ยป

Read: DOM vs SAX Parser in Java - XML Parsing in Java

Topic: Android Applications Architecture Previous Topic   Next Topic Topic: Programming Like Kent Beck

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use