官术网_书友最值得收藏!

Summary

In this chapter, we have learned about the Spring Boot CLI and how to install it in your machine. The Spring Boot CLI offers you a very simple and fast way of developing the Spring Boot application. You can run the Spring Boot application with the Groovy language using the CLI; it makes it possible to develop the Spring application with minimal code noise and reduces all code friction. The Spring Boot CLI is also able to automatically resolve several dependency libraries. You can also take advantage of the Gradle @Grab annotation to explicitly declare dependencies; no need to define a build specification, either using Maven or Gradle.

We have also run a very simple Hello World REST application by using the web-based Spring Boot CLI.

You have seen in this chapter how to find out about your Spring application in production. Spring Boot provides you a production-ready feature, Spring Boot Actuator. The Actuator provides many endpoints and you can monitor these endpoints using the web-based REST services, remote shell, and JMX client. But in this chapter, I have explained only web-based REST endpoints. You can also customize these Actuator endpoints.

In Chapter 4, Getting Started with Spring Cloud and Configuration, we'll start to understand Spring Cloud and configurations.

主站蜘蛛池模板: 额济纳旗| 革吉县| 崇明县| 深水埗区| 西昌市| 弥勒县| 米林县| 保康县| 永州市| 祁东县| 宁海县| 玉林市| 扎兰屯市| 文化| 灵寿县| 永年县| 丽水市| 达州市| 常熟市| 望奎县| 龙岩市| 东莞市| 临泽县| 金堂县| 安溪县| 遂平县| 台州市| 房产| 虞城县| 锡林浩特市| 海兴县| 静海县| 渝北区| 新蔡县| 庆安县| 衡山县| 西乡县| 兴化市| 乌拉特前旗| 宣恩县| 宾川县|