Spring Boot Magic Explained: Embedded Web Servers [Video]
What's behind the magic that is Spring Boot and its embedded web servers?
Join the DZone community and get the full member experience.
Join For FreeAs soon as you develop a web application with Spring Boot, you'll run an embedded web server like Tomcat or Jetty. Embedding these web servers serves as a prime example of how Spring Boot cleverly uses conditions, dependencies (Maven or Gradle), and a bit of code to produce magic that is hard to debug if you do not know what is going on. I highly recommended that you check out the video below if you want to deepen your Spring Boot knowledge.
In this short and practical episode, you will learn:
- How to run an embedded Tomcat server
- How Spring Boot uses embedded Tomcats/Jetty
- How a web server can be booted up on 'conditions'
- How Spring's
@Conditional
annotation works
Published at DZone with permission of Marco Behler. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments