Thursday, 10 May 2018

need-of-serialization-in-java

https://stackoverflow.com/questions/2475448/need-of-serialization-in-java?

Serialization is usually used When the need arises to send your data over network or stored in files. By data I mean objects and not text.
Now the problem is your Network infrastructure and your Hard disk are hardware components that understand bits and bytes but not JAVA objects.
Serialization is the translation of your Java object's values/states to bytes to send it over network or save it.
This is analogous to how your voice is transmitted over PSTN telephone lines.

No comments:

Post a Comment