Spring 4.0.0 向后兼容 [英] Spring 4.0.0 backward compatibility

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

问题描述

我已经搜索过,但找不到任何表明 Spring 4.0.0 与 Spring 3.x 不完全向后兼容的信息.

I've searched and couldn't find anything to suggest that Spring 4.0.0 is not fully backward compatible with Spring 3.x.

真的是这样吗?

推荐答案

他们在新版本中删除的 API 很少.你不会对新版本有任何意外的变化,API 可能会有细微的变化.但是,您必须注意已弃用的 API,这些 API 将在即将到来的版本中移除.

There are few API they have removed in the new version. You would not have any surprise changes with the new version, there could be slight changes in the API. But, you have to watch the deprecated APIs which will be the candidate for removal in the forthcoming versions.

看看这个文档 ,它们包括很少的向后兼容性更改和 API 的删除.

Look at this document , they have included few backward compatibility changes and removal of the APIs.

和组件的 object-mapper 选项的向后兼容性已被删除.

The backward compatibility for object-mapper option of the and components has beed removed.

但是文档中提到的改动并不多.

But there is not much changes mentioned in the document.

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

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