What are the key points to consider when implementing serialization

advertisements

What are the key points in checklist to be checked while implementing good serialization in java (I'm not really looking for , implements Serializable, write, readObject etc).

Instead , How to reduce the size of the object , Probably how to make the object in zip format and send over the network etc.. How to ensure the secure mode of transfer. any others like this..


How to reduce the size of the object: new ObjectOutputStream(new GZipOutputStream(new BufferedOutputStream(out)). But this is a space-time tradeoff. You may find that it makes performance worse by adding latency.

How to ensure the secure mode of transfer: SSLSocket or an HTTPS URL.

Any others like this

Any others like what? You will need to be specific.