Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Serialization ,persistency

 
Ugochukwu Onwordi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,everyone.please help me understand the difference between serialization and persistency.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We had almost exactly he same question not long ago, which makes me think of homework or working through some list of questions. In that case, we probably won't give you the whole answer, but send you out to find it yourself.

Have you looked for definitions of the two terms? What seems similar or different? How might you use both at once?
 
Ugochukwu Onwordi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assure you its not for an assignment.i'm studying for an exam,my notes say there's a difference but don't go into details.I had always thought an object was serialized in order to store it permanently.
 
Ugochukwu Onwordi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assure you its not for an assignment.i'm studying for an exam,my notes say there's a difference but don't go into details.I had always thought an object was serialized in order to store it permanently.
 
Majid Al-Fifi
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
serialization is taking an object and storing it in a file so that it can be deserialized later to get it back in another runtime.

persistance refers to storing data of whatever form.

So one may say something like this:

"serilization is one way to provide persistence but it is not practical so better persistence methods must be used"

hope this helps
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic