If you are going to use your own server, the easiest way to deploy the Spring Boot application is to use an executable JAR file. If you use Maven, an executable JAR file is generated by typing the mvn clean install command in the command line. That command creates the JAR file in the build folder. In this case, you don't have to install a separate application server, because it is embedded in your JAR file. Then, you just have to run the JAR file using the java command, java -jar your_appfile.jar. The embedded Tomcat version can be defined in the pom.xml file, with the following lines:
<properties>
<tomcat.version>8.0.52</tomcat.version>
</properties>
If you are using a separate application server, you have to create a WAR package. This is slightly more complicated, and you have to make some modifications to your application....