ITeye博客

公开SNS社区即时找朋友链的源代码和部署方案(续一)

markhe · 2012-04-09 12:38 · 开源软件 · Markdown

1) Versant数据库可以直接支持复杂的业务模型:

public class Person {

String firstName; String lastName; String gender; String ethnicity; String language; // 新增的节点 int index = 5;

Contact info; Location location; public String primaryCountry; public String primaryAreaCode;

HashSet friends = new HashSet(); HashSet colleagues = new HashSet(); HashSet family = new HashSet(); HashSet relations = new HashSet(); }

Versant数据库可以直接支持包括HashSet、LinkedList在内的复杂数据结构。

若需要了解其解决方案,请点击:http://wenku.baidu.com/view/f6b9081ba76e58fafab00343.html?st=1

若需要了解全部代码请回帖。

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。