Object Serialization in VisualAge

Object serialization is a means that the Java language provides to save state information about a class instance between runs of a program element.

To experiment with serialization, start with examples:

Marking a class serializable does not require that it be serialized. It simply gives you the flexibility to do so. For more information about object serialization issues in general, see Sun's Object Serialization site and the JavaBeans specification .

VisualAge supports two different aspects of serialization:

VisualAge also uses serialization internally to preserve property settings, so it is important that property values be serializable. By default, primitive types, arrays, strings, and any bean that inherits from java.awt.Component are serializable.


Related concepts
Generated Code

Related procedures
Managing the Beans Palette
Creating and Modifying a BeanInfo Class

Related references
Choose Bean Window