Hi
all,
We have a need
for processing huge XML files, sizes that would exeeced what the VM could hold
in memory.
I'm envisioning a streaming form of castor,
similar to how SAX parsing works, but conceptually at a higher level. For
example, as Castor processes the XML stream, it fires off object unmarshalling
notifications (with the freshly unmarshalled object available). This is in
constrast to building up the object in memory and sending it all back at
once.
There would be some things to resolve in terms of deep
object graphs- where would the marshalling boundaries be?
From my experience with Castor, I'm pretty sure there's
no advertised support for this. However, are there any hooks in the codebase
that I could leverage? Any multi-cast listeners I could create and hook into
castor, so I could receive unmarshalling notifications?
Thanks for the ear.
Brent