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.