03 spring boot2.3.1 入门

267 阅读1分钟

官方文档地址

docs.spring.io/spring-boot…

文档内容 入门 介绍Spring Boot,系统要求,Servlet容器,安装Spring Boot,开发第一个Spring Boot应用程序

这里面我阅读到一条非常重要到信息,这条信息是我之前忽略,但是一直在寻找的工具。

`Installing the Spring Boot CLI The Spring Boot CLI (Command Line Interface) is a command line tool that you can use to quickly prototype with Spring. It lets you run Groovy scripts, which means that you have a familiar Java-like syntax without so much boilerplate code.

You do not need to use the CLI to work with Spring Boot, but it is definitely the quickest way to get a Spring application off the ground.`

  • (1)很多时候我不想使用eclipse 或者 idea这样笨重的 ide 工具
  • (2)在线的程序演示工具

spring-boot-cli-2.3.1.RELEASE-bin.zip

spring-boot-cli-2.3.1.RELEASE-bin.tar.gz

docs.spring.io/spring-boot…

安装方式也比较简单,下载到windows系统,然后把bin 配置到环境变量即可。。

第一次使用的时候,可能会下载一些依赖。有点慢,之后速度还好。

电脑配置 i7 16G jdk14 spring-boot-cli 裸跑测试demo,平均2秒左右

jeesite 4.2 系列 jdk11 + mysql8

启动时间 9.117秒 这个速度已经很可观了。。。

同idea,下启动demo jdk14 平均1.07