Spring / Spring7 Intermediate to Advanced Interview questions
How does Spring Boot 4 differ from Spring Boot 3 in terms of baseline requirements?
Spring Boot 4 sits on Spring Framework 7, so its baseline shift mirrors the framework's own jump.
| Requirement | Spring Boot 3 | Spring Boot 4 |
| Underlying framework | Spring Framework 6 | Spring Framework 7 |
| Jakarta EE | EE 9/10 | EE 11 |
| Servlet container | Tomcat 10, Jetty 11 | Tomcat 11+, Jetty 12.1+ |
| Minimum Java | 17 (Java 11 dropped in 3.x already) | 17, but 25 strongly recommended |
Beyond baselines, Spring Boot 4 also continues a modularization push - splitting some starters into finer-grained artifacts - so teams pull in less unused code, which matters more for container-dense and serverless deployments than it did in Boot 3.
More Related questions...