posts - 17,  comments - 8,  trackbacks - 0
从“Spring与EJB3.0的比较”一文开始,我对EJB3.0关注也更多了一些,关于Spring与EJB3.0的比较详见http://www.onjava.com/lpt/a/5996。我对该文的翻译为http://www.blogjava.net/Files/ablix/EJB.rar,后来发现在matrix.org同样存在该文的翻译http://www.matrix.org.cn/resource/article/43/43718_Spring_EJB.html
通过对Jboss EJB3.0及Oracle EJB3.0参考实现(GlassFish)的了解,觉得简单的EJB3.0开发还算比较简单。从“The Performance of EJB 3.0”一文(http://java.sys-con.com/read/131767_1.htmhttp://www.jaoo.org/articles/ejb3perf.jsp)中发现,EJB 3.0的性能并不差。
文中首先指出EJB3.0规范非常简单和强大,觉得性能会很差,因为简单一般是要付出代价的。但经过一系列的测试,表明EJB3.0的性能要比EJB2.1高很多,特别是在并发用户较大时,EJB3.0的性能及用户吞吐量甚至是EJB2.1的两倍。
文中的最后结论如下:
Conclusion
Considering that we used only a developer's preview of EJB 3.0, we're very impressed with this specification - at least Oracle's implementation of it. As mentioned earlier, we're very attracted to the simplicity and power of EJB 3.0. The wonderful work done with annotations and the persistence, the ability to use POJOs, and the ability to test outside of the container are very attractive all by themselves. But now, with an implementation that equals or doubles the performance of EJB 2.1 (at least for our test cases), we can't wait for the final specification and formal release of EJB 3.0.
posted on 2006-01-12 19:38 Swift 阅读(1028) 评论(0)  编辑  收藏 所属分类: Java性能

只有注册用户登录后才能发表评论。


网站导航:
 
<2006年1月>
25262728293031
1234567
891011121314
15161718192021
22232425262728
2930311234

常用链接

留言簿(3)

随笔分类

随笔档案

相册

同党

搜索

  •  

积分与排名

  • 积分 - 15583
  • 排名 - 1956

最新评论

阅读排行榜

评论排行榜