• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Serialization ,persistency

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,everyone.please help me understand the difference between serialization and persistency.
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic