Tagged articles

Embedded Server

15 articles · Page 1 of 1
Java Architect Essentials
Java Architect Essentials
Jun 5, 2026 · Backend Development

Zero‑Downtime SpringBoot Updates: Swapping JARs Without Stopping the Service

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 ServerJavaServlet
0 likes · 9 min read
Zero‑Downtime SpringBoot Updates: Swapping JARs Without Stopping the Service
LuTiao Programming
LuTiao Programming
Mar 22, 2026 · Backend Development

Beyond Tomcat: Which Spring Boot Embedded Server—Jetty or Undertow—Delivers the Best Performance?

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
Beyond Tomcat: Which Spring Boot Embedded Server—Jetty or Undertow—Delivers the Best Performance?
java1234
java1234
Jan 27, 2026 · Backend Development

Why Can a Spring Boot JAR Run Directly?

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 ServerJavaSpring Boot
0 likes · 4 min read
Why Can a Spring Boot JAR Run Directly?
Programmer DD
Programmer DD
Aug 29, 2024 · Backend Development

Tomcat vs Jetty vs Undertow: Which Spring Boot Embedded Server Performs Best?

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.

DockerEmbedded ServerJetty
0 likes · 20 min read
Tomcat vs Jetty vs Undertow: Which Spring Boot Embedded Server Performs Best?
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 ServerFat JarJava
0 likes · 7 min read
Why Can Spring Boot Fat JARs Run Directly? Uncover the Secrets
Java Architect Essentials
Java Architect Essentials
Sep 6, 2023 · Backend Development

Understanding Spring Boot 2.7.10’s Embedded Tomcat: Defaults, Thread Pools, and Connection Limits

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.

Backend DevelopmentConnection ManagementEmbedded Server
0 likes · 15 min read
Understanding Spring Boot 2.7.10’s Embedded Tomcat: Defaults, Thread Pools, and Connection Limits
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
Java Interview Crash Guide
Java Interview Crash Guide
Jul 22, 2021 · Backend Development

How SpringBoot Boots Tomcat: Deep Dive into Startup Process and Tomcat Internals

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.

Embedded Serverbackendspring application
0 likes · 14 min read
How SpringBoot Boots Tomcat: Deep Dive into Startup Process and Tomcat Internals
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.

Embedded ServerJavaPerformance debugging
0 likes · 30 min read
Diagnosing and Solving a 100 ms Delay in Spring Boot Embedded Tomcat Using Arthas
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
Programmer DD
Programmer DD
Jun 24, 2019 · Backend Development

Mastering Spring Boot Embedded Tomcat: Essential Configuration Tips

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
Mastering Spring Boot Embedded Tomcat: Essential Configuration Tips