parsing large XML file in Java

cybex

New Member
What is a better way to parse large XML data which is essentially a collection of XML data in Java and Java based frameworks? We get data from a webservice call which runs into few MB (typically 25MB+). This data essentially corresponds to an unmarshalled list of Objects. My objective is to create the list of objects from the XML.I tried using the SAX parser and it takes a good 45 seconds to parse these 3000 objects.What are the other recommended approaches?
 
Back
Top