SimplePersistenceA very thin and simple persistence layer that binary serializes entities to files | |
Download |
SimplePersistence Ranking & Summary
Advertisement
- License:
- Freeware
- Publisher Name:
- Marco Otte-Witte
- Operating Systems:
- Windows All
- File Size:
- 20 KB
SimplePersistence Tags
- layer simple persistence layer binary serialized entities persistence serialized entities local persistence Simple DirectMedia Layer persistence layer Simple Plugin Layer persistence abstraction layer Persistence system data persistence POJO persistence layer Applet Persistence Layer database persistence layer transitive persistence Persistence Tool
SimplePersistence Description
SimplePersistence was designed to be a very thin and simple persistence layer that binary serializes entities to files. All files are kept below your executable's path in a sub path called 'SimplePersistence'. It's main use is for small applications that only need to persist smaller objects from a simple domain model. Beware! Using serialization for persistence has 2 major drawbacks: - The persisted data won't survive changes in the code: If you have persisted an instance of class 'Entity' and then change this class' implementation, you won't be able to restore an instance of this class from the persisted data. - Serialization of an object serializes the COMPLETE OBJECT GRAPH. This means if you serialize an instance of class 'Customer' that holds a reference to an instance of class 'Order' and later change that order and serialize it too, then when you load the customer again, the changes made to the order later on won't be reflected in the customer's referenced order. Anyway, the framework is still pretty usable for smaller applications that don't need to migrate data from different versions and that have a rather simple object model.
SimplePersistence Related Software