我在我的新工作中工作的项目是在 2.5 春季(一些 portlet)。迁移到 spring 3 有多难?
有一个定制的门户 1.0(不知道这是否相关),我想知道我是否可以要求在春季 3 开发。
以前从未使用过spring,想学习一些,但如果我可以选择最新版本,那就太好了。得到了 spring in action 第 3 版,并希望利用它
It principle, it should be a drop-in replacement. There's a bunch of stuff that was deprecated in Spring 3, and huge amount of new stuff added, but nothing was removed.
However, there were a bunch of minor bug fixes, and your code may be unwittingly relying on the buggy behaviour, so some minor adjustments may be necessary, but nothing any worse than that.
Other than that, the big difference is that Spring 3 requires Java5+. I'm assuming you're not stuck on 1.4 :)