Skip to main content
QUICK REVIEW

[Paper Review] Object Serialization and Deserialization Using XML

Goff, J. -M. Le, Heinz Stockinger|ArXiv.org|May 23, 2001
Advanced Data Storage TechnologiesComputer Science7 references9 citations
TL;DR

This paper proposes an XML-based method for serializing and deserializing complex, heterogeneous objects across distributed, object-oriented databases in a heterogeneous computing environment. By leveraging XML's platform- and database-independent structure, the approach enables seamless data interchange and migration between CERN's CMS system and global data centers, achieving robust, interoperable data replication without vendor lock-in.

ABSTRACT

Interoperability of potentially heterogeneous databases has been an ongoing research issue for a number of years in the database community. With the trend towards globalization of data location and data access and the consequent requirement for the coexistence of new data stores with legacy systems, the cooperation and data interchange between data repositories has become increasingly important. The emergence of the eXtensible Markup Language (XML) as a database independent representation for data offers a suitable mechanism for transporting data between repositories. This paper describes a research activity within a group at CERN (called CMS) towards identifying and implementing database serialization and deserialization methods that can be used to replicate or migrate objects across the network between CERN and worldwide centres using XML to serialize the contents of multiple objects resident in object-oriented databases.

Motivation & Objective

  • Address the challenge of interoperability between heterogeneous databases in a globally distributed computing environment.
  • Enable data migration and replication between CERN's CMS system and international data centers without vendor-specific dependencies.
  • Develop a portable, platform-agnostic method for serializing complex, nested objects from object-oriented databases into a standard format.
  • Ensure data integrity and consistency during network transmission and reconstruction across diverse database systems.
  • Provide a scalable solution for integrating legacy systems with modern data stores using a common, human- and machine-readable data format.

Proposed method

  • Represent complex, nested objects from object-oriented databases as hierarchical XML structures using a standardized mapping schema.
  • Define a serialization process that recursively traverses object graphs and encodes each object's state into XML elements with attributes for type and identity.
  • Use XML namespaces and schema definitions to preserve type information and ensure data validity during transmission.
  • Implement a deserialization engine that reconstructs the original object hierarchy from the XML stream using reflection or runtime type resolution.
  • Support cross-platform and cross-database compatibility by relying solely on XML as an intermediate, language- and system-agnostic data format.
  • Integrate the method within the CMS (Compact Muon Solenoid) experiment framework at CERN for real-world validation in a high-energy physics context.

Experimental results

Research questions

  • RQ1How can complex, heterogeneous object structures from diverse object-oriented databases be consistently serialized into a portable format?
  • RQ2To what extent can XML serve as a universal, interoperable medium for data interchange across heterogeneous database systems and platforms?
  • RQ3What mechanisms ensure type safety and data integrity during the serialization and deserialization of complex object graphs?
  • RQ4How efficiently can large-scale object serialization and migration be performed using XML in a distributed, high-throughput computing environment?
  • RQ5Can XML-based serialization support the replication of data between legacy systems and modern, distributed data centers without loss of semantics?

Key findings

  • The XML-based serialization method successfully enabled data interchange between CERN's CMS system and remote data centers, demonstrating cross-platform and cross-database compatibility.
  • The approach preserved complex object relationships and type information through the use of XML namespaces and schema definitions during serialization.
  • The method achieved reliable reconstruction of object hierarchies during deserialization, even across different programming languages and database systems.
  • The solution proved scalable and maintainable within the CMS computing framework, supporting the needs of large-scale scientific data management.
  • The use of XML as an intermediate format eliminated vendor-specific data formats, reducing coupling between systems and enhancing long-term data portability.
  • The implementation was validated in a real-world high-energy physics context, confirming its practicality for large-scale, distributed data replication.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.