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:
Before using a serialized bean, make sure that all classes referenced by the serialized bean exist in your workspace. Otherwise, VisualAge cannot deserialize the bean.
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.
Generated Code
Managing the Beans Palette
Creating and Modifying a BeanInfo Class
Choose Bean Window