© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
K. S. P. Reddy, S. UpadhyayulaBeginning Spring Boot 3https://doi.org/10.1007/978-1-4842-8792-7_16

16. Deploying Spring Boot Applications

Siva Prasad Reddy Katamreddy1   and Sai Subramanyam Upadhyayula2
(1)
Hyderabad, India
(2)
Rotterdam, The Netherlands
 

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 ...

Get Beginning Spring Boot 3: Build Dynamic Cloud-Native Java Applications and Microservices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.