Dear Members,
I have a typical file like this:
<bookstore>
<book> </book>
<book> </book>
...
<book> </book>
</bookstore>
<book> </book>
<book> </book>
...
<book> </book>
</bookstore>
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 a fixed numbers of book elements for avoiding overflow), then for example store into database and then to take the next one, so I want to parse book event, process it and then to go to the next one. ¿How can we do it with castor?
If I bind the hole bookstore element into BookStore class with million of books I get Overflow for sure.
It should be a solution where the unmarshall process get each time a book then you process it (for example stores into database) and go to the next
book without creation a new object for example each time or doing by a package of certain number of books each time.
Thanks in advance,
David Leal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!

