Difference between Serializable and Persistable?
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Thursday, January 25, 2007 05:12 AM

Why not serializable is named as Persistable? Is there any difference between them?

Re: Difference between Serializable and Persistable?

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, January 27, 2007 11:07 AM

maybe, generally speaking, in order to "persist" something (save to a DASD etc. medium), you would have to "serialize" it first....

But on the other hand, you might need to "serialize" something, without needing to "persist" it....

maybe you just want to squirt it over the wire to somewhere else, for instance, and maybe that's not considered "persisting"....

Or on the other hand, you could perhaps imagine "persisting" something without first "serializing" it (think of a "core dump" file, for instance, or paging/swapping ...), if you didn't need to make sure it was going to be generally accessible.

all this is just completely generally/generically speaking, of course, but that's how terms come about, like you asked in your question...

Historically I think you might want to look into things like different (pre-IEEE standard) floating point representations, different byte orders (Big Endian vs Little Endian), leading to early attempts to standardize or "serialize" like Sun's XDR (eXternal Data Representation), or the ISO OSI's ASN, etc.... for the background leading to Java's serialization concept....

About | Sitemap | Contact