Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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


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

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}