Tagged articles
Embedded Tomcat
13 articles · Page 1 of 1
This comprehensive guide dissects Spring Boot's core mechanisms including auto-configuration internals, the nine-step startup process from main() to port binding, embedded Tomcat initialization, configuration binding, and fat JAR loading, with source code references and a structured learning path for mastering the framework.
Auto-configurationBest PracticesConfiguration Binding
0 likes · 41 min read


java1234Oct 20, 2026 · Backend Development
This article explores Tomcat 11's major upgrades including Java 17 baseline, Jakarta EE 11 alignment, virtual threads for high concurrency, Servlet 6.1 API improvements, EL 6.0 record support, removed legacy features, and provides hands-on Docker and embedded deployment examples with code.
EL 6.0Embedded TomcatJakarta EE 11
0 likes · 20 min read

This article compares embedded Tomcat (bundled inside a Spring Boot executable JAR) with standalone Tomcat (installed separately), covering installation, packaging, resource usage, startup speed, management, version flexibility, feature set, pros and cons, and guidance on selecting the appropriate deployment model.
Embedded TomcatJava WebSpring Boot
0 likes · 10 min read

This article explains why a Spring Boot executable JAR runs with an embedded Tomcat while a WAR relies on an external Tomcat, how port and context‑path settings differ, how to modify them, and which packaging is preferable for interviews and production.
Embedded TomcatSpring Bootcontext-path
0 likes · 8 min read

A Spring Boot channel service showed an unexpected 100 ms latency; by systematically checking network, using curl, and employing Arthas to trace Spring MVC and Tomcat internals, the author discovered a Tomcat‑embed bug that repeatedly loads Swagger‑UI JAR resources, which is resolved by upgrading Tomcat.
ArthasEmbedded TomcatSpring Boot
0 likes · 15 min read

This tutorial shows how to build and run a Spring MVC application using an embedded Tomcat server with just a single Java class, covering Maven dependencies, Tomcat configuration, Servlet registration, Spring‑driven startup, and core Spring MVC component setup.
Embedded TomcatJavaSpring Boot
0 likes · 11 min read

This article walks through creating a Spring Boot 3 application from scratch, demonstrating how to customize the ApplicationContext, embed a Tomcat server, define a custom SpringApplication class, configure web components, and test REST endpoints, providing complete code snippets and explanations for each step.
Embedded TomcatREST APISpring Boot
0 likes · 9 min read

This guide walks through Spring Boot 3.2.5 troubleshooting with ConditionEvaluationReport, customizing the application context and environment via listeners and EnvironmentPostProcessor, building parent‑child containers, managing embedded Tomcat MBeans, returning XML responses, customizing the whitelabel error page, and adding multiple Tomcat connectors, all illustrated with code snippets and images.
Auto-configurationEmbedded TomcatEnvironmentPostProcessor
0 likes · 10 min read

This article walks through the complete Spring Boot startup sequence, starting with the SpringApplication.run entry point, detailing the preparation, application context creation, and refresh phases, and shows how the embedded Tomcat server is instantiated and started, illustrated with code snippets and diagrams.
Embedded TomcatJavaSpring Boot
0 likes · 11 min read

This article explains Spring Boot’s auto‑configuration mechanism, focusing on how the spring‑boot‑autoconfigure module automatically sets up the embedded Tomcat server, detailing the relevant Maven dependencies, configuration classes, conditional annotations, and the lifecycle steps that create and start the Tomcat container.
Auto-configurationEmbedded TomcatJava
0 likes · 15 min read

This article presents the ten most frequently asked Spring Boot interview questions, covering annotations, package exclusion, auto‑configuration control, Actuator features, initializer usage, embedded Tomcat customization, and how to disable the default web server, providing concise answers and code examples for each.
ActuatorAnnotationsEmbedded Tomcat
0 likes · 8 min read

This article walks through the evolution of Java web development, comparing the classic web.xml configuration with Servlet 3.0 annotations, Spring’s ServletContainerInitializer, and Spring Boot’s embedded‑container registration mechanisms, while exposing the underlying source code and initialization flow.
Embedded TomcatInitializationJava
0 likes · 18 min read

Spring Boot simplifies Java web development by embedding Tomcat as its default servlet container, automatically configuring components like Engine, Host, Context, Wrapper, and Connector through application properties, while supporting dynamic servlet registration, WAR deployment, and revealing the underlying initialization process via logs and code.
Embedded TomcatJava WebServlet Container
0 likes · 7 min read
