What are the requirements and features of Spring Boot 2.0 RELEASE? How does it work?
1.1
Spring Boot
Since the first official release of Spring Boot on April 1, 2014, there have been more than 2W starts on Github since then.
Git address: https://github.com/spring-projects/spring-boot
As a major open source project in the Spring ecosystem, Spring Boot aims to simplify the creation of production-level Spring applications and services. Users only need to “run” to create a stand-alone, production-level Spring application.
1.2
Spring Boot 2.0 RELEASE
With the arrival of Spring, Spring Boot has officially released version 2.0 on March 1, 2018 Beijing time.
Spring Boot 2.0 requirements and features
Spring Boot 2.0 requires Java 8 to use it
2. Support the latest Java 9
3. Build on Spring 5
4. WebFlux and embedded Netty Server are supported as non-blocking alternatives to Spring MVC
5. Provides automatic configuration for responsive programming of various components, such as Reactive Spring Data, Reactive Spring Security, etc
6. Tomcat must be upgraded to 8.5
Please refer to:
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Migration-Guide
1.2
Creating an application
Environmental requirements reference: https://spring.io/guides/gs/spring-boot/
The procedure for creating an application is as follows:
1. Open the website: http://start.spring.io/
(Currently only version 2.0 RC2 is supported!)
2. Click Generate Project to Generate Project
3. Import project (POM.xml) with IntelliJ IDEA
Directly run main function can start successfully;
You can add xiaobian friends
Years of programming experience, proficient in Java, Python, NodeJs, C++, etc.
Currently, he is committed to deep learning and big data analysis research and development.
We’re all programmers!
Here is programmer actual combat base!
Long press the QR code to follow COder10
Website: www.coder10.net
Click ↓↓ to read the video