Basic HTML version of Foils prepared Aug 14 1997

Foil 12 Object Serialization

From JavaBeans Examples UC Web applications Certificate -- Aug 11,14 97. by Nancy McCracken


1 Beans must implement java.io.Serializable if they are to be saved, or used as components in other beans that are saved.
2 There are no methods to provide - implementing Serializable is a promise that all member data of the class can be successfully saved and restored used the serialization mechanism.
3 Static and transient members are not saved.
4 Any class that would present a security risk can't be serializable, for example a FileInputStream can't be saved because it contains a file handle.
5 In the BeanBox, use the Save and Load functions under the File menu.

in Table To:


© 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 Thu Jan 8 1998