This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Serialization is the process of persisting an object state in a flat file or sending through network.
Mean converting the java object into bits and bytes, because hard disks or networks understands only these bits and bytes, cannot understand the data in terms of objects
Real time scenarios
Storing the object state in a disk. Object state means instance variable values at particular time.
Sending the object through network (One JVM to another JVM)
Storing the object in database (In Hibernate we can directly send object 'save()' method to insert the values in data base).