The Serialization Package
The Serialization package includes two object persistence mechanisms: non RWCollectable polymorphic persistence and non-intrusive polymorphic persistence. This package enables you to add polymorphic persistence to your applications without changing your classes. A concrete stream is provided producing a compact data representation like that generated by RWCollectable persistence. The package can also be extended to user-defined formats.
The Serialization package includes the following capabilities:
*Provides a mechanism for flattening and transporting objects across communication boundaries and for storing the contents of these objects to disk
*Passes objects by value between processes in a distributed system
*Makes your classes “serializable” without inheriting from a serializable base class
*Streams your objects to and from portable ASCII and portable binary formats