Tagged articles

war

13 articles · Page 1 of 1
Java Architect Handbook
Java Architect Handbook
Aug 5, 2026 · Backend Development

Spring Boot Deployment: Jar vs War – Key Differences Explained

When a Spring Boot project is packaged as a jar it runs with the embedded Tomcat using the application's own configuration, while a war package relies on an external Tomcat container, adopts the container's settings such as the default 8080 port, and requires additional Maven configuration and a ServletInitializer class.

MavenPackagingSpring Boot
0 likes · 14 min read
Spring Boot Deployment: Jar vs War – Key Differences Explained
Xiao Liu Lab
Xiao Liu Lab
Dec 17, 2025 · Cloud Native

Deploy SpringBoot JAR and Legacy WAR with Docker + Nginx in 5 Minutes

This guide shows how to containerize Java SpringBoot JAR or traditional WAR projects with Docker and Nginx, providing a unified, reproducible deployment pipeline that eliminates environment conflicts, simplifies port management, and enables seamless development‑to‑production transitions.

DockerDocker ComposeNginx
0 likes · 13 min read
Deploy SpringBoot JAR and Legacy WAR with Docker + Nginx in 5 Minutes
Java Architect Essentials
Java Architect Essentials
Nov 9, 2023 · Backend Development

Why Does My Spring Boot App Behave Differently as JAR vs WAR? Understanding Embedded and External Tomcat

This article explains why a Spring Boot application runs with the configured port when packaged as a JAR using the embedded Tomcat, but switches to Tomcat's default port and context path when deployed as a WAR, and provides step‑by‑step instructions to package and deploy both formats along with historical context and technical differences.

MavenPackagingSpring Boot
0 likes · 14 min read
Why Does My Spring Boot App Behave Differently as JAR vs WAR? Understanding Embedded and External Tomcat
Top Architect
Top Architect
Sep 1, 2023 · Backend Development

Differences Between JAR and WAR Packages and How to Build Spring Boot Projects as JAR or WAR

This article explains the differences between JAR and WAR files, why Spring Boot runs with an embedded Tomcat when packaged as a JAR, how deployment changes when using an external Tomcat, and provides step‑by‑step instructions with Maven configurations to build Spring Boot applications as either JAR or WAR packages.

MavenPackagingSpring Boot
0 likes · 14 min read
Differences Between JAR and WAR Packages and How to Build Spring Boot Projects as JAR or WAR
Architecture Digest
Architecture Digest
Jun 15, 2023 · Backend Development

How to Package Spring Boot Projects as JAR and WAR

This article explains the differences between JAR and WAR packaging for Spring Boot applications, shows why embedded Tomcat behaves differently from external Tomcat, and provides step‑by‑step instructions with Maven commands and pom.xml modifications to build both JAR and WAR artifacts.

MavenPackagingServlet
0 likes · 13 min read
How to Package Spring Boot Projects as JAR and WAR
Java Architect Essentials
Java Architect Essentials
Apr 11, 2023 · Backend Development

Understanding JAR vs WAR Packaging in Spring Boot and How to Build Them

This article explains why a Spring Boot project runs differently when packaged as a JAR versus a WAR, outlines the historical evolution of Java web containers, compares the characteristics of JAR and WAR files, and provides step‑by‑step Maven commands and pom.xml configurations for building both package types.

MavenPackagingServlet
0 likes · 13 min read
Understanding JAR vs WAR Packaging in Spring Boot and How to Build Them
Selected Java Interview Questions
Selected Java Interview Questions
Feb 20, 2023 · Backend Development

Understanding the Difference Between JAR and WAR Packages in Spring Boot and How to Build Them

This article explains why a Spring Boot application behaves differently when run as a JAR versus deployed as a WAR, outlines the historical context of servlet containers, compares JAR and WAR formats, and provides step‑by‑step Maven commands and pom.xml modifications for packaging both types.

MavenPackagingSpring Boot
0 likes · 13 min read
Understanding the Difference Between JAR and WAR Packages in Spring Boot and How to Build Them
21CTO
21CTO
Mar 7, 2022 · R&D Management

How Ukrainian Developers Keep Shipping Code Amid Bombings

Despite relentless Russian attacks, Ukraine's vast community of software engineers continues to deliver code and support both civilian and military efforts, illustrating remarkable resilience and the critical role of remote tech teams in global supply chains.

Software EngineeringUkrainian developersremote work
0 likes · 7 min read
How Ukrainian Developers Keep Shipping Code Amid Bombings
Programmer DD
Programmer DD
Jul 15, 2018 · Backend Development

How to Package Spring Boot as a WAR and Deploy to an External Tomcat

This guide shows how to change a Spring Boot project’s packaging to WAR, remove the embedded Tomcat, add the servlet‑api dependency, create a servlet initializer, build the WAR with Maven, and deploy it to an external Tomcat server for verification.

MavenSpring BootTomcat
0 likes · 6 min read
How to Package Spring Boot as a WAR and Deploy to an External Tomcat