jQuery in Action, 2nd edition*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes what is Serialization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "what is Serialization" Watch "what is Serialization" New topic
Author

what is Serialization

karnatam narendraprasad
Ranch Hand

Joined: Mar 01, 2007
Posts: 30
can any one explaine .
where can i get some mock test on this topic
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

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.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

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

Joined: Aug 31, 2004
Posts: 11343

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.
 
Consider Paul's rocket mass heater.
 
subject: what is Serialization
 
Similar Threads
Can the color for the disabled item be changed
WA #1.....word association
Private methods
URGENT - NEED HELP - Block Code
error in Marcus Green 2.