Ask the Expert

Serialization vs. synchronization

What is the difference between serialization and synchronization?

    Requires Free Membership to View

Serialization is a mechanism in Java for flattening objects out to disk or a stream and then reassembling them on the other end or when they are re-instantiated.

Synchronization is a concurrency mechanism in Java to restrict blocks of shared data/code from being accessed by more than one thread at a time.

This was first published in December 2003

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.