Tagged articles
9 articles
Page 1 of 1
Code Ape Tech Column
Code Ape Tech Column
Feb 25, 2026 · Backend Development

Why a Spring Boot API Took 100ms Extra: Tracing Tomcat’s Hidden Jar Loading Bug

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 TomcatPerformance debugging
0 likes · 15 min read
Why a Spring Boot API Took 100ms Extra: Tracing Tomcat’s Hidden Jar Loading Bug
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 14, 2024 · Backend Development

Build a Custom Spring Boot 3 Application with Embedded Tomcat – Step‑by‑Step Guide

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.

Backend DevelopmentEmbedded TomcatREST API
0 likes · 9 min read
Build a Custom Spring Boot 3 Application with Embedded Tomcat – Step‑by‑Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 30, 2024 · Backend Development

Master Spring Boot 3.2: Auto‑Configuration, Custom Environments, and Advanced Tomcat Tweaks

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.

Embedded TomcatEnvironmentPostProcessorError Page
0 likes · 10 min read
Master Spring Boot 3.2: Auto‑Configuration, Custom Environments, and Advanced Tomcat Tweaks
Java High-Performance Architecture
Java High-Performance Architecture
Oct 14, 2023 · Backend Development

Spring Boot Startup Explained: From Main Method to Tomcat Launch

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.

Backend DevelopmentEmbedded TomcatJava
0 likes · 11 min read
Spring Boot Startup Explained: From Main Method to Tomcat Launch
Java High-Performance Architecture
Java High-Performance Architecture
Jul 5, 2022 · Backend Development

How Spring Boot Auto‑Configures Embedded Tomcat: A Deep Dive

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.

Embedded TomcatJavaSpring Boot
0 likes · 15 min read
How Spring Boot Auto‑Configures Embedded Tomcat: A Deep Dive
Programmer DD
Programmer DD
Aug 2, 2019 · Backend Development

Top 10 Spring Boot Interview Questions Every Backend Developer Must Know

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.

ActuatorEmbedded TomcatJava
0 likes · 8 min read
Top 10 Spring Boot Interview Questions Every Backend Developer Must Know
Programmer DD
Programmer DD
May 21, 2018 · Backend Development

From web.xml to Spring Boot: How Java Servlets and Filters Evolved

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
From web.xml to Spring Boot: How Java Servlets and Filters Evolved
Java Backend Technology
Java Backend Technology
Feb 26, 2018 · Backend Development

How Spring Boot Integrates Embedded Tomcat to Power Your Java Web Apps

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
How Spring Boot Integrates Embedded Tomcat to Power Your Java Web Apps