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
about proxy for lazy load
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
项目主页:http://sourceforge.net/projects/joafip/
下载地址:http://sourceforge.net/projects/joafip/files/
来自:开源中国社区

