, , , . , - , HashMap .. / .
, , . , XStream .
There is also a library called Prevayler . This serializes the changes on the fly, but allows you to store everything in memory. Thus, even in the event of a sudden power failure, when you do not have time to shut down correctly, this can be useful.
Experiment with various methods to see what works for you, and extract the details behind the DAO.
source
share