Tag

Embedded Server

0 views collected around this technical thread.

Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 24, 2025 · Backend Development

Understanding How Spring Boot Embeds Tomcat: A Source Code Walkthrough

This article explains how Spring Boot eliminates XML configuration and embeds servlet containers like Tomcat by analyzing Maven dependencies, core startup methods, WebServer creation, and the lifecycle methods that ultimately start and stop the embedded Tomcat instance.

Embedded ServerJavaSource Code
0 likes · 10 min read
Understanding How Spring Boot Embeds Tomcat: A Source Code Walkthrough
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 26, 2024 · Backend Development

Mastering Servlet, Filter, and Listener Registration in Spring Boot 2.7

This guide explains how Spring Boot automatically registers Servlet, Filter, and Listener beans, how to customize their mappings with registration beans, configure the embedded servlet container, and handle JSP limitations, providing code examples and practical tips for backend developers.

Embedded ServerFilterJSP
0 likes · 9 min read
Mastering Servlet, Filter, and Listener Registration in Spring Boot 2.7
macrozheng
macrozheng
Dec 5, 2023 · Backend Development

Why Can Spring Boot Fat JARs Run Directly? Uncover the Secrets

This article explains how Spring Boot packages applications as executable Fat JARs, embeds a web server, uses a special launcher, and defines a main class so the JAR can be run with a simple java -jar command, eliminating the need for separate deployment servers.

Embedded ServerExecutable JARFat JAR
0 likes · 7 min read
Why Can Spring Boot Fat JARs Run Directly? Uncover the Secrets
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 12, 2022 · Backend Development

How to Integrate JAX‑RS (Jersey) into Spring Boot 2.4: Full Configuration Guide

Learn how to enable JAX‑RS (Jersey) support in Spring Boot 2.4.12 by adding the starter dependency, defining custom endpoints, configuring ResourceConfig, and managing servlets, filters, and listeners, including advanced customizations of embedded servlet containers such as Tomcat, Jetty, and Undertow.

Embedded ServerJAX-RSJersey
0 likes · 8 min read
How to Integrate JAX‑RS (Jersey) into Spring Boot 2.4: Full Configuration Guide
Code Ape Tech Column
Code Ape Tech Column
Feb 5, 2021 · Backend Development

Diagnosing and Solving a 100 ms Delay in Spring Boot Embedded Tomcat Using Arthas

This article walks through the step‑by‑step investigation of an unexpected ~100 ms latency in a Spring Boot channel service, using network checks, curl timing, Arthas trace and watch commands to pinpoint a Tomcat‑embed bug caused by Swagger‑UI JAR loading, and then shows how upgrading Tomcat resolves the issue.

ArthasEmbedded ServerJava
0 likes · 30 min read
Diagnosing and Solving a 100 ms Delay in Spring Boot Embedded Tomcat Using Arthas
Java Captain
Java Captain
Aug 8, 2020 · Backend Development

How Spring Boot Starts Embedded Tomcat: From Main Method to Tomcat Lifecycle

This article explains how Spring Boot automatically starts an embedded Tomcat server, detailing the main entry point, context creation, refresh process, and the internal Tomcat components that are instantiated and started during application startup.

BackendEmbedded ServerJava
0 likes · 11 min read
How Spring Boot Starts Embedded Tomcat: From Main Method to Tomcat Lifecycle
macrozheng
macrozheng
Sep 27, 2019 · Backend Development

How Spring Boot Boots Tomcat: Deep Dive into the Startup Process

This article explains how Spring Boot launches an embedded Tomcat server by tracing the main method, creating and refreshing the application context, and initializing Tomcat's core components such as connectors and containers, while detailing the hierarchy of Engine, Host, Context, and Wrapper.

Embedded ServerJavaSpring Boot
0 likes · 14 min read
How Spring Boot Boots Tomcat: Deep Dive into the Startup Process