Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Serialization
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Drawbacks== Serialization breaks the opacity of an [[abstract data type]] by potentially exposing private implementation details. Trivial implementations which serialize all data members may violate [[encapsulation (object-oriented programming)|encapsulation]].<ref>{{cite web|last=S. Miller|first=Mark|title=Safe Serialization Under Mutual Suspicion|url=http://erights.org/data/serial/jhu-paper/intro.html|work=ERights.org|quote=Serialization, explained below, is an example of a tool for use by objects within an object system for operating on the graph they are embedded in. This seems to require violating the encapsulation provided by the pure object model.}}</ref> To discourage competitors from making compatible products, publishers of [[proprietary software]] often keep the details of their programs' serialization formats a [[trade secret]]. Some deliberately [[obfuscated code|obfuscate]] or even [[encryption|encrypt]] the serialized data. Yet, interoperability requires that applications be able to understand each other's serialization formats. Therefore, [[RMI-IIOP|remote method call]] architectures such as [[CORBA]] define their serialization formats in detail. Many institutions, such as archives and libraries, attempt to [[future proof]] their [[backup]] archives—in particular, [[database dump]]s—by storing them in some relatively [[human-readable]] serialized format.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)