Maintaining multiple valid concurrent serialized object versions
Abstract
Maintaining Multiple Valid Concurrent Serialized Object Versions Techniques are disclosed for concurrently maintaining serialized objects that were created from more than one version of a class definition. According to preferred embodiments, a component maps and enforces multiple valid stream-unique version identifiers (“SUIDs”) for a collection of class definitions (such as the classes of a software product that is undergoing change from one version to another). This component programmatically detects when an object's SUID value does not match the code attempting to deserialize the object, and then programmatically determines whether the object is compatible with the code even though the SUID values do not match. Preferably, this determination is made by consulting a stored mapping, in which the SUIDs of compatible versions have been recorded.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 37 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented system for enabling multiple compatible versions of serialized objects to be maintained concurrently, comprising: a computer comprising a processor; and instructions which execute using the processor to implement functions comprising: determining a class name and a version of a serialized object to be deserialized from a storage medium, wherein the version of the serialized object is a previously-computed version value computed over a class definition for the named class when the serialized object was serialized; determining whether the serialized object can be deseriali
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (37)
Non-Patent Literature (3)
- "Java(TM) Object Serialization Specification", copyright 1997-1999 Sun Microsystems, Inc.: Chapter 4 "Class Descriptors", sections 4.5 "Inspecting Serializable Classes" (p. 1 of 1) and 4.6 "Stream Unique Identifiers" (pp. 1-2 of 2); Chapter 5 "Versioning of Serializable Objects" (all 11 pages); Appe
- "Java™ Object Serialization Specification", copyright 1997-1999 Sun Microsystems, Inc.: Chapter 4 "Class Descriptors", sections 4.5 "Inspecting Serializable Classes" (p. 1 of 1) and 4.6 "Stream Unique Identifiers" (pp. 1-2 of 2); Chapter 5 "Versioning of Serializable Objects" (all 11 pages); Appendi
- Kurotsuchi, Brian T., "The Wonders of Java Object Serialization," Nov. 1997, ACM.