Originally posted by Dakshayani Cc: what is the exact definition of serialization of objects in java
Paul's answer to your question is a good answer. However, since this is a JDBC forum and "serialization of objects" doesn't have much to do with JDBC, let's also clarify that "serializable transactions" (which is related to JDBC) is something totally different and not at all related to "serialization of objects".
Serilization means writting down the state of object into the streams or a file.state ofobject means that the state of the object when we are transfering to a file.Suppose if you take person object he might have states like sleeping,eating and playing.if you set the sleeping attribute as true it means that the object is in sleeping state.This is the state of object. here serialization means saving the state of the person object which is in sleeping state into a file.
When it is used for evil, then watch out! When it is used for good, then things are much nicer. Like this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java