I have read a lot about Castor Project, but I have no found where to find a example for parsing really big XML into java objects.
I have a typical file like this:
if the file is big enough I can't load the whole book store at once, my idea is to take one by one each <book> information (or to limit the number of book elements to take for avoiding overflow), then for example store into database and then to take the next one, so I want to parse book events, process it and the to go to the next one. ┐How can we do it with castor?
With the solution of this article, for a big file we are going to get an overflow for sure.
Thanks in advance,