Struts2 vs Spring 3 [英] Struts2 vs Spring 3

查看:61
本文介绍了Struts2 vs Spring 3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道Struts2和Spring 3 MVC之间的区别。我知道Struts 1和Spring 2.5之间的区别,但是Struts2在Spring 3或其他方面的优势是什么。

Does anyone know difference between Struts2 and Spring 3 MVC. I know the difference between Struts 1 and Spring 2.5, but what's the advantage Struts2 has over Spring 3 or otherwise.

我试过整个网络,但没有全面的随时随地回答。

I tried looking all over web, but there is no comprehensive answer anywhere.

推荐答案

Struts2实际上是WebWork 2重命名为Struts2。考虑一下Struts基本上利用自己的品牌来采用WebWork作为其新基础的事实,这应该向你建议,至少有一些人觉得它非常引人注目 - 一个并不总是抛弃他们的他们自己的代码库在他们发行续集时重新开始。

Struts2 is really WebWork 2 renamed as Struts2. Consider for a moment the fact that Struts essentially leveraged its own brand name to adopt WebWork as its new base, and that should suggest to you that there was at least some who felt it was very compelling -- one doesn't always throw out their own code base to start anew when they issue a sequel.

这就是说,我不会告诉你Struts2比Spring 3 MVC更好/更差。底线是它们绝对可比。

That said, I'm not going to tell you that Struts2 is better/worse than Spring 3 MVC. Bottom line is that they are definitely comparable.

如果您想了解他们如何比较的详细信息,我建议您查看Matt Raible过去几年关于此主题的演示文稿:

If you want more details on how they compare, I suggest you check out Matt Raible's presentations in years past on this topic:

http://raibledesigns.com/rd/entry/my_comparing_jvm_web_frameworks

http://static.raibledesigns.com/repository/presentations/ComparingJavaWebFrameworks-ApacheConUS2007 .pdf

包括一个电子表格,可以在不同程度上比较其中几个:

including a spreadsheet that compares several of them on various degrees:

http://spreadsheets.google.com/pub?key=0AtkkDCT2WDMXdC1HOEtnUHpCejJMbUhGeGJWUmh5dVE&hl=en&output= html

这篇关于Struts2 vs Spring 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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