13.4. Using XML as a Data Exchange Format
This chapter looks at how XML can be used as a data exchange format (e.g., in files, or over the wire) between JDO-based applications.
When using domain-centric data models as described above, there often is a need to represent the data of persistent objects, indeed entire graphs of related persistent objects, in a datastore implementation-independent, externally readable manner.
The purpose of such an external representation is usually interchanging information, and often between systems of different technology, may be using a SOAP-based Web service. However, scenarios like transferring content from one (JDO) datastore to another, or migrating data from one (earlier or different) ...