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.
Search Encyclopedia
|
Featured Article
|