Spring boot的简单用法

75 阅读1分钟

 

    打算通过写一系列的文章,让大家能够认识SpringBoot,通过对SpringBoot的入门学习后,在通过一个示例Demo来让大家能够真正上手SpringBoot。

 

适合人群:

 

    1、有一定Java基础的朋友

    2、适合初中级的朋友。     

1.什么是Spring Boot

来源官方文档:     

Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run".

We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.

 

上面的意思是说:

 

        Spring Boot可以很简单的就创建一个你可以运行的独立的、生产级别的应用系统。

        我们可以使用Spring平台和第三方库快速的开始,很多的Spring Boot应用需要很少的配置。

 

        

 

2.如何搭建一个Spring Boot的环境

        对Spring Boot的定义,大家可能知道,但是还是有点晕头,现在我们直接上手,来搭建一个Spring Boot的项目,然后一步步的来讲解和实现,让大家更深一步来理解如何开始使用Spring B