[jdom-interest] handling big files
Alex Rosen
arosen at silverstream.com
Wed Sep 11 20:30:56 PDT 2002
Here are all the ways I know of to handle large XML document without running
out of memory:
Use ElementScanner with JDOM:
<http://www.servlets.com/archive/servlet/ReadMsg?msgId=225506&listName=jdom-
interest>
<http://cvs.jdom.org/cgi-bin/viewcvs.cgi/jdom-contrib/src/java/org/jdom/cont
rib/input/scanner/>
Use ElementHandler with dom4j:
<http://www.dom4j.org/faq.html#How%20does%20dom4j%20handle%20very%20large%20
XML%20documents?>
Use an XML pull processor:
<http://www.extreme.indiana.edu/xgws/xsoap/xpp/>
<http://www.xmlpull.org/>
Use SAX:
<http://www.saxproject.org/>
Alex
More information about the jdom-interest
mailing list