Skip to Main Content
Building Applications with Spring 5 and Kotlin
book

Building Applications with Spring 5 and Kotlin

by Milos Vasic
May 2018
Intermediate to advanced content levelIntermediate to advanced
310 pages
6h 18m
English
Packt Publishing
Content preview from Building Applications with Spring 5 and Kotlin

Deployment options

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.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Spring Boot Applications with the Kotlin Programming Language

Building Spring Boot Applications with the Kotlin Programming Language

Matt Thornfield

Publisher Resources

ISBN: 9781788394802Supplemental Content