Q

Serialization vs. synchronization

What is the difference between serialization and synchronization?
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

Dig deeper on Java Web Services

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close