Serialization Section Index | Page 3

Can I serialize an object that has native methods?

I am able to write an object using ObjectOutputStream but when I try to read the object back using ObjectInputStream I get a StreamCorruptedException. How can I overcome this?

How can I read and write serialized objects to and from a database?

What are the security considerations for serialization?

Can an object of type Class be serialized?

Does serialization support encryption?

Is writing an object to an ObjectOutputStream a thread-safe operation?

How has Serialization changed in the Java 2 SE SDK, v1.3?

What are the writeReplace() and readResolve() methods used for?

How can I programmatically obtain the serialVersionUID for a class?

I keep getting a StackOverflowError when I try to serialize my objects. What does this mean and how can I stop it?

ObjectOutputStream seems to be holding a reference to all the objects in my large graph, even after I close the stream. This keeps my objects from being garbage collected. Is this a bug?

Why would I want to implement Externalizable instead of Serializable?

How can I make a deep copy of an object using serialization?

The javadoc documentation for every Swing class contains the warning that "Serialized objects of this class will not be compatible with future Swing releases." What exactly does this mean, and how does it affect how I write my Swing applications?