In
computer science,
persistence refers to the characteristic of
state that outlives the
process that created it. This is achieved in practice by storing the state as data in
computer data storage. Programmers have to transfer data to and from storage devices and have to provide mappings from the programming data structures to the storage device data structures via
serialization of data and
structure to formats compatible with the storage.