Is there any statistics regarding the usage of Spring MVC vs Struts 2 and other frameworks?

拥有回忆 提交于 2019-12-08 07:33:47

问题


I'm doing an analysis of request-based web application frameworks to determine which one would be the most suitable for a particular project, and I've been asked to include some solid evidence showing that our choice is widely used and supported compared to other frameworks.

Is there any statistics on the matter? Or even a list of major companies that use each one or something?


回答1:


Well its hard to say anything which framework best fit in your needs as only you can do the analysis based on your requirements and see which framework provides best nearest match as per your requirements.

Matt Raible has done a very deep level analysis based on some predefined matrix and you can get some idea about few frameworks

  • my_comparing_jvm_web_frameworks

In end i will suggest you don't go with what other saying as those can be there personal preferences and it's better to invest you time to find which is better for you.




回答2:


Spring provides other lot more features like security, dependency Injection, AOP and transactions. So you need to use spring anyway in your application.

So what I think is why you need a different framework like Struts just for a MVC frontend when Spring itself provides it.

Think about it. If you use struts you will add dependency on one more framework unnecessarily.




回答3:


Some info on their respective homepages

http://www.springsource.org/case-studies

https://cwiki.apache.org/S2WIKI/projects-using-webwork-or-struts2.html



来源:https://stackoverflow.com/questions/12171896/is-there-any-statistics-regarding-the-usage-of-spring-mvc-vs-struts-2-and-other

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