JOAFIP- Java对象持久化框架
JOAFIP (java data object persistence in file ) 使得你可以使用文件系统来保存数据对象,而不是数据库。
主要特点:
easy to useguarantees all ACID propertiesobject oriented, write your model, store it. Do not need query language, juste navigate in your model.multi data access session ( multi-Thread, transactional data store )save all objects of object graph starting from a root object to file system, one heap file record by object instancelazy loading of object: make able to not waste memory with large object graph when only need to access to some of them.manage more object than memory can contains about proxy for lazy loadmanage enum state persistencecrash safe, may accept JVM stop at any time even if write in file ( only the last commit is lost)file corruption detectiongarbage collector for file data record that will never be accessedThe object that can be persited are POJO that not needs to implement Serializable, but there is some conditionsPossibility to store serialization of instance of class in one data record. can be comprerssed or not