Solved

what is synchronization and serialization in java

Posted on 2008-06-19
6
1,267 Views
Last Modified: 2011-08-18
what is synchronization and serialization in java
0
Comment
Question by:HimanshuW
6 Comments
 
LVL 17

Accepted Solution

by:
contactkarthi earned 84 total points
ID: 21825445
have a look at

http://forum.java.sun.com/thread.jspa?threadID=677826&messageID=3985833


Serialization in Java is the process of writing an object's state to an output stream.

Synchronization is what you do to ensure that only one thread at a time executes a critical block of code.
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 83 total points
ID: 21825484
0
 
LVL 5

Assisted Solution

by:gksinghiet
gksinghiet earned 83 total points
ID: 21833756
Synchronization and serialization are altogether different concepts.
Synchronization is done in a multi threaded environment to avoid dirty read.
Serialization is a way by which objects can be persisted to the file system.

For more refer following tutorial
http://java.sun.com/developer/technicalArticles/Programming/serialization/
http://java.sun.com/docs/books/tutorial/essential/concurrency/sync.html
http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html
http://www.javabeginner.com/object-serialization.htm
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
pairs challenge 5 44
listing all functions in JavaScript 19 105
Problem to start Neon 20 53
Java Timer (static) 9 15
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now