Spring Boot study notes 1 (running environment)

1 Introduction

Spring Boot makes it easy to create stand-alone Spring-based production applications, you just "just run". By default, we reference Spring's environment configuration and some necessary third-party libraries, so that you can better create Spring Boot applications. So most Spring Boot applications require very little Spring configuration.

You can use Spring Boot to create Java applications and start them using java -jar or traditional war package deployment.

2. Operating environment

By default, Spring Boot 2.0.0.BUILD-SNAPSHOT requires Java 7 and Spring Framework 5.0.0.BUILD-SNAPSHOT or above. But you can also add some configuration on the basis of Java 6 to meet the requirements of running Spring Boot (the specific implementation will be mentioned later). Explicitly supported build environments: Maven (3.2+), and Gradle 2 (2.9 or later)

    Note: Although you can run Spring Boot with java7 or even java6, we recommend that you use java8 whenever possible.

2.1 List of Servlet Containers

The following embedded servlet containers support out of the box

You can also deploy Spring Boot applications in any Servlet 3.0+ compatible container

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326004163&siteId=291194637
Recommended