遗留应用程序的迁移:EJB3或Spring [英] Migration of Legacy Application : EJB3 or Spring

查看:115
本文介绍了遗留应用程序的迁移:EJB3或Spring的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 struts &在JBoss v4.0上运行的 ejb2.0 hibernate v3.0 ,现在我们已经将该应用程序迁移到新技术栈我们正在探索不同技术堆栈的专业版 cons ,现在我们有两个选项可供选择: EJB3.0 & Jboss 7或$ code> Spring $

I have legacy application using struts & ejb2.0, hibernate v3.0 running on JBoss v4.0 and now we have do migration of that application to new technology stack. We are exploring pros and cons of different technology stack and right now we have two options to decide from: EJB3.0 & JSF, Hibernate v4 on Jboss 7 or Spring & Hibernate v4 on tomcat.

我应该考虑哪些参数来选择一个或另一个,反之亦然?

What parameters should I be considering to select one or the other or vice-versa?

更新:

哪些 EJB3.0 Spring 有效的社区支持,旁注 - ejb3.0 标签有1097个问题和$ code> spring 有13297,所以有些如何倾向于春天,也不是一个标准的春天有一个快速升级的优势,这将修复行业的挑战相比,相比, EJB3。

Which of EJB3.0 and Spring has efficient community support, side note - ejb3.0 tag has 1097 questions and spring has 13297, and so some how am getting inclined towards Spring, also by not being an standard spring has an advantage of rapid upgrade's which would fix industry challenges pretty fast compared to ejb3.

想法?

推荐答案

很久以前,事实上使用的事情,但随着时间的推移春天成长为相当重的野兽。另一方面,EJB大幅度减少,并被大大简化。

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.

JSF也是如此,在2.0中得到了极大的改善。

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

当在Java EE 6堆栈中使用这些技术时,这些技术真正闪耀,目前它具有很大的发展势头。完整的Java EE 6实现(例如GlassFish)只有大约50MB,而较小的子集(称为Web简档)可以是其中的一半。服务器只需几秒钟即可启动。

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.

目前我还没有看到任何特定的Spring需要。如果您的堆栈已经在Spring上,当然不需要迁移到Java EE,但是对于新的项目,我永远不会选择Spring这些天。

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.

这篇关于遗留应用程序的迁移:EJB3或Spring的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆