Spring Boot Magic Explained: Embedded Web Servers [Video]

DZone 's Guide to

Spring Boot Magic Explained: Embedded Web Servers [Video]

What's behind the magic that is Spring Boot and its embedded web servers?

· Java Zone ·
Free Resource

As 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

embedded web servers, gradle, java, maven, spring boot, tomcat, video, web servers

Published at DZone with permission of Marco Behler . See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}