Tagged articles
4 articles
Page 1 of 1
Java Web Project
Java Web Project
Jan 23, 2026 · Backend Development

Zero‑Downtime Spring Boot Deployment: Sharing a Port Between Two Instances

This article explains how to update a Spring Boot application without stopping the old process by letting a new instance start on the same port, detailing the Tomcat internals, the required ServletContainerInitializer callbacks, and providing a complete, step‑by‑step implementation with code samples and a live test.

DeploymentJavaPortSharing
0 likes · 9 min read
Zero‑Downtime Spring Boot Deployment: Sharing a Port Between Two Instances
Top Architect
Top Architect
Dec 17, 2025 · Backend Development

Zero‑Downtime SpringBoot Updates: Share the Same Port Between Old and New Instances

This article explains how to update a SpringBoot application without stopping the service by letting the old and new processes share the same port, detailing the underlying Tomcat and ServletContainerInitializer mechanisms, providing a step‑by‑step implementation and a demo for seamless zero‑downtime deployments.

DeploymentJavaPortSharing
0 likes · 10 min read
Zero‑Downtime SpringBoot Updates: Share the Same Port Between Old and New Instances
Architecture Digest
Architecture Digest
Aug 18, 2024 · Backend Development

Zero‑Downtime SpringBoot Port Sharing: Design and Implementation

This article explains how to achieve seamless code updates for SpringBoot applications by allowing two processes to share the same port, detailing the underlying servlet container mechanics, the role of DispatcherServlet, and providing a complete Java implementation with step‑by‑step instructions and code samples.

BackendJavaPortSharing
0 likes · 8 min read
Zero‑Downtime SpringBoot Port Sharing: Design and Implementation