Hi all,

I have a bunch of entries in a JavaSpace (representing long-running
process state, i.e. they exist for days or weeks), and these contain
some objects that were generated from XML (using JAXB). That vocabulary
has evolved (additions only) but now, of course, the computed
SerialVersionUIDs will be different. When I redeploy my workers that
have been built against the new API, they will surely fail when reading
the old entries.

Any strategies as to how I can migrate the data in the space? I'm
running a persistent outrigger (snaplogstore). I was thinking of, in a
worker with an 'old' classpath, draining the space, and storing those
entries in some non-java representation on disk, and then in a worker
with the 'new' classpath, reading those entries and re-populating the
space.

Migrating data in a space is surely something that must have caused
problems for somebody before, and I'd love to tackle this problem
drawing on some experience of others.

regards,
Dawid

Reply via email to