• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is Serialization

 
karnatam narendraprasad
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can any one explaine .
where can i get some mock test on this topic
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically, serialization is a way to store an object's state information somewhere (like a hard drive), so that the information can be used later to re-create the object.

Take a look at Object Streams in the Java Tutorial or the Object Serialization section from Thinking in Java.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The other nice thing about Serialization is that the process is virtually the same for sending data across a network, as it is to a hard drive, so if you're objects are serialiable, their state is easily transferred across a network or cluster.



-Cameron McKenzie
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Cameron W. McKenzie:
The other nice thing about Serialization is that the process is virtually the same for sending data across a network, as it is to a hard drive...

Good point! I had my "persistence" blinders on.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic