How long will Spring 3.x continue to be supported?

大城市里の小女人 提交于 2019-12-11 19:58:28

问题


I've recently inherited a project that's built on some older technologies, including iBATIS 2.x, and Struts 1.x. Both of those seem to be supported (though @Deprecated) in Spring 3.2.x, and not at all in Spring 4.x:

  • org.springframework.orm.ibatis, Object Relational Mapping (ORM) Data Access - iBATIS SQL Maps
  • org.springframework.web.struts, Integrating with other web frameworks - Apache Struts 1.x and 2.x

However, before I start the effort of migrating to Spring 3, I want to know how much longer I can expect to see it supported by the upstream developers. Would I have enough time to keep running Spring 3 while I migrate other parts of my application to newer tools, and then finally migrate over to Spring 4? Or should I focus on upgrading all of these other things before I can get onto Spring?


回答1:


Spring 3.X will be end-of-life as of Dec 31 2016, but there will only be maintenance releases until that time (no feature development will happen).




回答2:


I hardly understand your problem. iBATIS 2.x and Struts 1.x are both no longer supported. They can work fine, as does Spring 2.x, but if a security problem is discovered, it will not be fixed.

If you contemplate migrating to Spring 3.x, you should also contemplate the migration to MyBatis and Struts 2.x (or Spring MVC ?) unless you have special requirements.

BTW, Spring 3.0 and 3.1 series are no longer supported either, and support for 3.2 should end when 4.2 will reach General Availability status, as Spring Framework generally offers support for current version, and the 2 previous (legacy) ones.




回答3:


I just work on project that uses Spring 4 with MyBatis. There is project MyBatis-Spring that integrates these two. Works like charm.

Don't know how to help with second bullet, cause we are using Spring MVC.




回答4:


Seems that they've just posted a blog post that includes clarification on this topic:

Furthermore, please note that the 3.2.x line - and therefore the entire 3.x generation - is approaching its end of life in 2015. We are still committed to basic maintenance for critical issues; however, don’t expect more than two or three further 3.2.x releases down the road.

Source: Spring Framework 4.1.4 & 4.0.9 & 3.2.13 released

So, it seems that I'd have at least a few months of 3.x being supported to work on transitioning everything.




回答5:


For my current project I'm required to use Struts 1.2.4. But I also wanted to utilize Spring 4.1.x.

To compensate for the missing Struts support since Spring 4, I copied the code from the spring-struts 3.2.13 package and created a Spring 4.1.5 compatible spring-struts-forwardport package.

Obviously this is not the most elegant solution, but maybe this can help you solve your problem.

I guess this package will also work with the next Spring 4.1 releases.



来源:https://stackoverflow.com/questions/27709352/how-long-will-spring-3-x-continue-to-be-supported

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