Spring Framework
Exploring the built-in Spring-Boot server
·1338 words·3 mins
Spring Framework
Java language
source code analysis
This article explores in detail the principles and use of the web servers built into Spring Boot (including Tomcat, Jetty, Undertow, and Netty), with a particular focus on the differences between the Servlet and Reactive frameworks and their implementations in Spring Framework 5.0, including the
WebServer
interface and the concrete implementation of WebServerFactory
.
Why can Spring 'inject itself'?
·1142 words·6 mins
Java language
Spring Framework
source code analysis
Take a look at the Spring source code and PR records to find out which version and commit introduced the support for Self-Injection.