当前位置: 软件>java软件
Java对象持久化框架 JOAFIP
本文导语: JOAFIP (java data object persistence in file ) 使得你可以使用文件系统来保存数据对象,而不是数据库。 主要特点: easy to use guarantees all ACID properties object oriented, write your model, store it. Do not need query language, juste navigate in your model. multi da...
JOAFIP (java data object persistence in file ) 使得你可以使用文件系统来保存数据对象,而不是数据库。
主要特点:
- easy to use
- guarantees all ACID properties
- object 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 instance
- lazy 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
- manage enum state persistence
- crash safe, may accept JVM stop at any time even if write in file ( only the last commit is lost)
- file corruption detection
- garbage collector for file data record that will never be accessed
- The object that can be persited are POJO that not needs to implement Serializable, but there is some conditions
- Possibility to store serialization of instance of class in one data record. can be comprerssed or not