TA的每日心情 | 开心 2021-3-12 23:18 |
---|
签到天数: 2 天 [LV.1]初来乍到
|
一、db4o简介:
简单的说,就是可以用对象的方式存储数据,比如java的集合对象,javabean,pojo对象等。
开源,可以基于dboGPL协议免费使用,最新版本目前到了6.1版本(java)。官方网站有基于MySql数据库和其他存取方式性能比较的数据,性能十分不错。传闻应用十分广泛,从金融系统到战斗机控制系统都有使用。 db4o 为我们带来的是这样一种面向对象的查询方式:
1.完全原生,目前查询语言能用Java和.NET表达
2.100% 面向对象, 抛开对象-关系映射
3.100% 的类型安全 查询语言能完全获取现代IDE的特性,
比如语法检测、类型检测、重构,等等。 二、安装
只要将jar文件加到classpath中即可。
下载了之后,有PDF格式和HTML格式的指南文档。
运行结果: C:Test>java FirstStepsExample
Stored Michael Schumacher/100
Stored Rubens Barrichello/99
2
Michael Schumacher/100
Rubens Barrichello/99
1
Michael Schumacher/100
1
Michael Schumacher/100
Added 11 points for Michael Schumacher/111
2
Michael Schumacher/111
Rubens Barrichello/99
Deleted Michael Schumacher/111
1
Rubens Barrichello/99
Deleted Rubens Barrichello/99
0
源码下载:http://file.javaxxz.com/2014/10/2/141500375.zip |
|