Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Spring Boot 2.0.0

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces how to use Spring Boot 2.0.0, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

Use Spring Boot 2.0.0 GA

Maven

Org.springframework.boot spring-boot-starter-parent 2.0.0.RELEASE org.springframework.boot spring-boot-starter-web

Gradle

Dependencies {compile ("org.springframework.boot:spring-boot-starter-web:2.0.0.RELEASE")}

Spring Boot 2.0.1 is also marked as SNAPSHOT.

Maven

Org.springframework.boot spring-boot-starter-parent 2.0.1.BUILD-SNAPSHOT org.springframework.boot spring-boot-starter-web spring-snapshots Spring Snapshots https://repo.spring.io/libs-snapshot true

Gradle

Dependencies {compile ("org.springframework.boot:spring-boot-starter-web:2.0.1.BUILD-SNAPSHOT")} repositories {maven {url 'https://repo.spring.io/libs-snapshot'}}

Officials say the version has been under development for 17 months and has been submitted more than 6800 times by 215 different users. Thank you very much to all the users who contributed, and to all the early adopters who provided important feedback on these milestone versions.

This is the first major revision since the release of Spring Boot 1.0 four years ago, and the first stable version of GA that provides support for Spring Framework 5.0.

Highlights of the new version:

Based on Java 8, Java 9 is supported

Using Spring WebFlux/WebFlux.fn to provide responsive Web programming support

Support for embedded Netty

Tomcat, Undertow and Jetty all support HTTP/2

Support for Quartz scheduler

Greatly simplifies security automatic configuration

New actuator architecture that supports Spring MVC, WebFlux and Jersey

Thank you for reading this article carefully. I hope the article "how to use Spring Boot 2.0.0" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report