以下是我总结的为什么选择spring?

以下是我总结的为什么选择spring:
  1. 看好spring mvc的速度+spring生态环境的欣欣向荣
  2. Spring生态:从安全到各种服务集成具有天生的优势
  3. Spring对REST的支持
  4. spring mvc非常容易使用
附带,MVC测试:
tomcat maxThread=10;使用ab -n 10000 -c 20 测试一个helloworld control!
  1. spring3 mvc访问jsp速度高达5、6K/s
  2. spring3 mvc采用freemarker速度高达5、6K/s
  3. struts2(关闭log,关闭开发模式) mvc最高还达不到2K/s
    1.  struts2中使用interceptor-ref=basicStack 或者 使用empty interceptor 可以接近2.2k/s

猜你喜欢

转载自skzr-org.iteye.com/blog/1037384