Basic HTML version of Foils prepared 19 July 97

Foil 8 Object Serialization

From Overview of JDK Version 1.1 Extensions CPS616 -- Information Track of CPS -- Spring Semester 97. by Nancy J. McCracken


Provides the ability to write the complete state of an object to an output stream and then recreate the object later by reading the serialized representation from an input stream.
Classes ObjectOutputStream and ObjectInputStream have methods to read and write objects (as well as primitive types).
Used for transferring objects in cut-and-paste, RMI, and JavaBeans.
Also useful for saving customized or pre-initialized states of objects such as GUI's.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Nov 29 1998