© K. Siva Prasad Reddy 2017

K. Siva Prasad Reddy, Beginning Spring Boot 2, https://doi.org/10.1007/978-1-4842-2931-6_19

19. Deploying Spring Boot Applications

K. Siva Prasad Reddy

(1)Hyderabad, India

Spring Boot supports embedded servlet containers, which makes deploying applications much easier, because you don’t need an external application server setup. You can simply package your Spring Boot application as a JAR module and run it using the java -jar command. However, you need to consider a few things while running applications in a production environment.

You can use profiles to externalize configuration properties per environment and run your application, activating desired profiles. But you don’t want to specify sensitive data in configuration ...

Get Beginning Spring Boot 2: Applications and Microservices with the Spring Framework now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.