Migration of Legacy Application : EJB3 or Spring

心已入冬 提交于 2019-12-06 13:40:22

A long time ago, Spring was the de-facto thing to use, but over time Spring grew into quite a heavyweight beast. EJB on the other hand massively slimmed down and was greatly simplified.

The same goes for JSF, which was hugely improved in 2.0.

Those technologies really shine when used together in the Java EE 6 stack, which is currently having a great momentum. A complete Java EE 6 implementation (e.g. GlassFish) is only some 50MB, and the smaller subset of it (called Web profile) can be half of that. Servers start up in mere seconds.

At the moment I really don't see any specific need for Spring anymore. If your stack is already on Spring, it's of course not required to migrate to Java EE, but for new projects I would never choose Spring these days.

Past year i had the same doubt, i choosed the EJB3 and i do not regret , here a good article to consider: http://biese.wordpress.com/2008/02/03/another-thought-of-spring-vs-ejb3/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!