In this section, we will explain which options we have regarding Spring application deployment. As you already know, we are using Spring Boot in this project, and this means that Spring Boot provides a public static void main entry point that launches an embedded web server for you.
The assemble command we recently performed created a fat JAR for us, so all dependencies are included. If we run the application like we did in the previous section by running $ java - jar api-0.0.1-SNAPSHOT.jar.
We will also start the embedded server, and our application will start listening on the port defined in the application.properties file.