Pickling State in the Java System.

Roger Riggs, Jim Waldo, Ann M. Wollrath, Krishna A. Bharat · 1996

The Java^TM 1 system (hereafter referred to simply as "Java") inherently supports the transmission of stateless computation in the form of object classes. In this paper we address the related task of capturing the state of a Java object in a serialized form for the purposes of transmission or storage, to be used later in reconstituting an equivalent object. This is accomplished by a mechanism known as pickling[2][3][5]. Pickling is the process of creating a serialized representation of objects. Pickling defines the serialized form to include meta information that identifies the type of each object and the relationships between objects within a stream. Values and types are serialized with enough information to insure that the equivalent typed object and the objects to which it refers can be recreated. Unpickling is the complementary process of recreating objects from the serialized representation. Pickling and unpickling extract from the Java Virtual machine, at runtime, any meta in...

Read the paper · More papers on PaperTik