Springboot 1.X 和 Springboot 2.0 的区别 [英] Difference between Springboot 1.X and Springboot 2.0

查看:44
本文介绍了Springboot 1.X 和 Springboot 2.0 的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们一直在为我们的应用程序使用 Springboot 1.X.现在正准备开始一些新的应用程序,想知道我们是应该使用 SpringBoot2.0 还是坚持使用 SpringBoot 1.X?

We have been using Springboot 1.X for our applications. Now were are getting ready to start on a few new applications and was wondering if we should go with SpringBoot2.0 or stick with SpringBoot 1.X?

有任何想法吗?另外,Spring Boot 1.X 和 Spring Boot 2.0 有什么区别?

Any thoughts on one way or the other? Also, what are the differences between Spring Boot 1.X vs Spring Boot 2.0?

谢谢.

推荐答案

您可以在这里找到差异和迁移指南:https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Migration-Guide

You can find differences and migration guide here : https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Migration-Guide

  • Java 8 是基础版本
  • 属性已更改
  • spring.jackson.serialization.write-dates-as-timestamps=true 为默认值
  • Spring Security 配置变得更简单
  • Spring Security Oauth2 并入 Spring Security

等等..

这篇关于Springboot 1.X 和 Springboot 2.0 的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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