View RSS Feed

Serialization

Java Serialization

  1. Serialization

    by , 01-08-2012 at 12:33 PM
    Reading or writing an object is called serialization. It saves an object sate which can be restored at a later stage. Implement the java.io.Serializable interface to make a class serializable. This interface is also called marker interface. It supports object persistence to a file.

    Name:  56.JPG
Views: 993
Size:  19.3 KB

    Serialization


    If you do not want to serialize an object then mark it as transient. Serialization can affect performance in following ways:
    ...
    Categories
    Serialization