Tagged articles
Embedded Server
16 articles · Page 1 of 1

java1234Oct 24, 2026 · Backend Development
This article explores Jetty 12's architectural rewrite decoupling core from Servlet, and details Jetty 12.1's new features including Jakarta EE 11 support, a pluggable compression layer with gzip, Brotli, and Zstandard, a unified deployer, multi-authenticator flexibility, and a showcase combining virtual threads, EE11 servlets, and multi-algorithm compression.
CompressionEmbedded ServerHTTP/3
0 likes · 25 min read

The article explains how to achieve zero‑downtime code updates for SpringBoot applications by detecting port usage, launching a new instance on an alternate port, swapping the servlet container back to the original port, and terminating the old process, with a complete code example and a live demo showing sub‑second interruption.
Embedded ServerHot ReloadJava
0 likes · 9 min read

The article examines Spring Boot’s three embedded servers—Tomcat, Jetty, and Undertow—explaining why the default Tomcat may become a bottleneck in high‑concurrency, low‑latency microservices, and provides step‑by‑step guidance for switching servers, configuring key parameters, and selecting the optimal server based on workload characteristics.
Embedded ServerJettySpring Boot
0 likes · 9 min read


java1234Jan 27, 2026 · Backend Development
Spring Boot packages all dependencies and an embedded web server into a single executable JAR, allowing developers to launch the application with a simple "java -jar" command without external configuration or server deployment.
Embedded ServerGradleJava
0 likes · 4 min read

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 ServerJavaSpring Boot
0 likes · 10 min read

This article builds a simple Spring Boot Greetings API, configures Maven profiles for Tomcat, Jetty, and Undertow, creates Docker images for each, runs load‑testing benchmarks across multiple concurrency levels, and analyzes startup time, CPU, memory, and response performance to determine the optimal embedded server.
BenchmarkDockerEmbedded Server
0 likes · 20 min read

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 ServerJSPJava
0 likes · 9 min read

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 ServerFat JARJava
0 likes · 7 min read

This article examines Spring Boot 2.7.10’s embedded Tomcat configuration, detailing default connection queue sizes, thread pool parameters, key Tomcat settings such as AcceptCount and MaxConnections, internal thread components, and practical testing results that reveal how connection limits affect client‑server handshakes.
Connection ManagementEmbedded ServerPerformance Tuning
0 likes · 15 min read

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

This article explains how SpringBoot launches an embedded Tomcat server by walking through the main method, the SpringApplication.run workflow, context creation and refresh, and the internal Tomcat components such as Connector, Engine, Host, Context, and Wrapper, illustrated with code snippets and diagrams.
BackendEmbedded ServerSpringBoot
0 likes · 14 min read

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

This article explains how Spring Boot launches its embedded Tomcat server, covering Maven dependencies, the main application class, production packaging, the SpringApplication.run workflow, context creation, refresh mechanics, TomcatWebServer initialization, and the internal Tomcat component hierarchy.
Embedded Serverspring-boot
0 likes · 14 min read

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

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

This tutorial explains how to customize Spring Boot's embedded Tomcat server by adjusting ports, addresses, error handling, connection limits, SSL settings, and access log options through application.properties, providing clear code examples for each configuration.
ConfigurationEmbedded ServerJava
0 likes · 6 min read
