Encyclopedia > Persistence

  Article Content

Persistence

Persistence is the term used in computer science to describe a capability used by a computer programmer to store data structures in non-volatile storage such as a file system or a relational database.

Without this capability data structures only exist in-memory, and will be lost when a program exits. Persistence allows, for example, a program to be restarted and re-loaded with the data structures from a previous invocation of the program.

Design patterns solving this problem are container based persistence[?] and component based persistence[?].

Examples of persistence are using Java serialization[?] to store Java objects on disk or using J2EE to store Enterprise Java Beans in a relational database.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Holtsville, New York

... 33.5% from 25 to 44, 23.9% from 45 to 64, and 6.9% who are 65 years of age or older. The median age is 34 years. For every 100 females there are 96.1 males. For every ...

 
 
 
This page was created in 153.3 ms