• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding serialization

 
Dakshayani Cc
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the exact definition of serialization of objects in java
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know you would call this an exact definition, but here is what Sun have to say about Serialization.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Dakshayani Cc",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff
 
stu derby
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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".
 
Srinivas Nalleboyina
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic