一个JDO的成功案例分析
2008-04-25 16:11
357 查看
一个JDO的成功案例分析
来源:JDOcentral.com/" target=_blank>JDOCentral.com上的链接:
JDOcentral.com/pdf/eigner_JDO.pdf" target=_blank>"A Case Study: Replacing the Persistence Layer of a Business Process Engine with JDO"
该PDF文档描述了美国麻省的一个软件应用公司在使用JDO前后的应用开发情况,最初他们是自己开发的一套比较规范的实现了ODMG3.0规范的Java数据对象层。
他们的项目的数据结构大概是33个数据类,共几百个字段,还有一些额外的数据表,大概300个),规模算是比较大。
使用JDO后,他们发现自己写了几年的代码在数量、性能、可维护性等方面都比不上JDO(他们使用的是KodoJDO2.4.2)。比如性能方面的数据比较:JDO:自写底层 = 1842:401,差距如此之大!欲知更多详情,请下载该文档阅读。
文中包括在从自己写的JDBC底层转移到JDO的过程,以及一些开发过程及时间、不同开发模式(JDBC、JDO、EJB)的性能比较数据。
附带文档中的几句原话:
有一句原文说明JDO比自写的数据包装层更能提高效率:
JDO is probably a far more productive environment than any home-grown persistence layer.
另一句原文说明有一定程度的SQL性能方面的损失:
It certainly would have yielded faster results if we had hand-coded the SQL for each class. But with 33 classes in the process engine, and roughly another 300 in the remainder of our application, a hard-coded approach does not seem like the best approach to take.
还有一句说明什么情况下可用JDO代替EJB:
With the availability of JDO, it makes you wonder when and if you would ever need an EJB container at all within your application architecture if you use it only as a front-end to your database.
本文的版权属于笔者本人,但欢迎转载,前提是注明出处和原作者。另外,欢迎在我的专栏中查看我的另几篇文章,并提出宝贵意见!
来源:JDOcentral.com/" target=_blank>JDOCentral.com上的链接:
JDOcentral.com/pdf/eigner_JDO.pdf" target=_blank>"A Case Study: Replacing the Persistence Layer of a Business Process Engine with JDO"
该PDF文档描述了美国麻省的一个软件应用公司在使用JDO前后的应用开发情况,最初他们是自己开发的一套比较规范的实现了ODMG3.0规范的Java数据对象层。
他们的项目的数据结构大概是33个数据类,共几百个字段,还有一些额外的数据表,大概300个),规模算是比较大。
使用JDO后,他们发现自己写了几年的代码在数量、性能、可维护性等方面都比不上JDO(他们使用的是KodoJDO2.4.2)。比如性能方面的数据比较:JDO:自写底层 = 1842:401,差距如此之大!欲知更多详情,请下载该文档阅读。
文中包括在从自己写的JDBC底层转移到JDO的过程,以及一些开发过程及时间、不同开发模式(JDBC、JDO、EJB)的性能比较数据。
附带文档中的几句原话:
有一句原文说明JDO比自写的数据包装层更能提高效率:
JDO is probably a far more productive environment than any home-grown persistence layer.
另一句原文说明有一定程度的SQL性能方面的损失:
It certainly would have yielded faster results if we had hand-coded the SQL for each class. But with 33 classes in the process engine, and roughly another 300 in the remainder of our application, a hard-coded approach does not seem like the best approach to take.
还有一句说明什么情况下可用JDO代替EJB:
With the availability of JDO, it makes you wonder when and if you would ever need an EJB container at all within your application architecture if you use it only as a front-end to your database.
本文的版权属于笔者本人,但欢迎转载,前提是注明出处和原作者。另外,欢迎在我的专栏中查看我的另几篇文章,并提出宝贵意见!
相关文章推荐
- 一个JDO的成功案例分析
- 一个很好的oracle案例分析blog
- 简述如何创建一个SQL SERVER 2005 MOBILE数据库(我的个人成功案例 )
- 日志分析一个案例
- 分析案例:哪些操作导致IBM X225上无法成功恢复数据
- 反射的一个案例分析
- 电子商务成功案例雅虎(Yahoo)帝国成功方法分析
- VC运行库版本不同导致链接.LIB静态库时发生重复定义问题的一个案例分析和总结
- [案例分析]一个职业经理人的败笔
- [置顶] 国内外GIS基础软件对比分析优缺特性及实际工作生产应用和成功案例综合评价
- VC运行库版本不同导致链接.LIB静态库时发生重复定义问题的一个案例分析和总结
- 一个6年的Java程序员,针对分布式锁的案例分析和总结
- 一个优化MySQL查询操作的具体案例分析
- 一个理性战胜感性的成功案例:P2P投资和活期理财,纠结中提炼出来的1个数学问题
- 转:VC运行库版本不同导致链接.LIB静态库时发生重复定义问题的一个案例分析和总结
- android 一个应用去获取另一个应用assets下面的资源通过框架代码桥梁------项目实战成功案例
- 一个测试案例的分析
- VC运行库版本不同导致链接.LIB静态库时发生重复定义问题的一个案例分析和总结
- Scrum失败/成功案例分析
- Scrum失败/成功案例分析