Serialization Section Index | Page 4

Can I pass Externalizable objects by value using RMI, or do the objects have to implement Serializable directly?

How do I use the @serialField javadoc tag?

What role does serialization have in RMI?

When using object streams over sockets, I have to flush the streams after each write operation. In fact I even have to flush the output stream soon after creation. Is there a way out of this?

Are there any other FAQs on Serialization?

Can I serialize an array directly, or do I have to wrap it in an object first?

My subclass implements Serializable but my superclass doesn't. Both subclass and superclass contain instance variables that need to be saved as part of the state of the subclass. Will serialization save the superclass fields for me?

How can I save an Image object using serialization?

I'm having trouble getting Externalizable to work. Can you give a simple code example?

What things are required for a class that implements Externalizable?

What things are required for a class that implements Serializable?

How do I handle versioning of my Externalizable classes? Do I have to write a version number to the stream?

How do I use the @serial javadoc tag?

How do I use the @serialData javadoc tag?

Are there any system properties in Java that affect Serialization?

About | Sitemap | Contact