ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  XML Data Binding with Castor
Subject:   How to convert efficienty XML big files
Date:   2006-02-26 13:34:37
From:   glenpepicelli
Response to: How to convert efficienty XML big files

Check out the new StAX API (JSR 173). There is an implemenation at woodstox.codehaus.org.


This API will let you read an XML file without holding it in memory. So you may process it or load it into a database even if it's way too big to fit into memory.


StAX isn't automatic like Castor but it is still very easy. You should be able to write your first parser in less than a day.


Glen