Map
Index
Random
Help
Topics
th

Topic: object serialization

topics > computer science > programming > Group: object-oriented programming



Topic:
frozen representation
Topic:
persistent data structure
Topic:
sending an object across a network
Topic:
strings
Topic:
structural equivalence vs. name equivalence of data types
Topic:
XML data type
Subtopic: design for serialization up

Quote: implement Serializable only for value classes and collection classes
Quote: a custom serialized form contains only the object's logical data; better than the default, physical representation [»blocJ_2001]

Subtopic: pickling up

Quote: ASDL, abstract syntax description language, for describing intermediate representations; concise data structure definitions, pickling functions, and automated implementation; simplification of ASN.1 [»wangDS10_1997]
Quote: ASDL pickling uses a simple prefix encoding for sequence types, product types; no explicit type information except for constructor tags [»wangDS10_1997]
Quote: writing an ASDL pickle is dominated by I/O while reading by memory allocation time

Subtopic: flattened hierarchy up

Quote: for documenting inherited classes, first flatten the class before using Eiffel's 'short' command [»meyeB10_1992]
Quote: Eiffel can flatten a class to incorporate all inherited definitions; simplifies distribution [»meyeB9_1990]
Quote: the TOPD flattener removes all hierarchical structure; then it's translated into equivalent COBOL statements [»hendP9_1975]
Quote: a declared instance of a class is expanded into the variables recursively specified by the class's memory [»hendP9_1975]

Subtopic: problems with serialization up

Quote: while a value persists, so should its description (type); avoids round-trip errors
Quote: with name equivalence, a type only has meaning in a particular program; causes problems for distributed systems and persistent data; simple changes can undo pickled representations
Quote: concurrent use of replicating persistence requires synchronized extern and intern operations [»buneP5_1986]
Quote: the serialized form is part of the API; it limits a class's implementation; serialization is less reliable and less secure, requiring more testing
[»blocJ_2001]

Related Topics up

Topic: frozen representation (6 items)
Topic: persistent data structure (37 items)
Topic: sending an object across a network (11 items)
Topic: strings (13 items)
Topic: structural equivalence vs. name equivalence of data types (30 items)
Topic: XML data type
(22 items)

Updated barberCB 8/06
Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.