Tag

Fat Jar

0 views collected around this technical thread.

Cognitive Technology Team
Cognitive Technology Team
Jun 18, 2025 · Backend Development

How Spring Boot’s Fat Jar Enables One‑Click Java Deployment

Spring Boot’s Fat Jar packages all application code, dependencies, and an embedded server into a single executable JAR, breaking the parent‑delegation model with a custom class loader and protocol handler, enabling simple ‘java -jar’ execution, streamlined deployment, and benefits for microservices and Docker layering.

Class LoaderFat JarJava
0 likes · 10 min read
How Spring Boot’s Fat Jar Enables One‑Click Java Deployment
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
Code Ape Tech Column
Code Ape Tech Column
Jan 6, 2023 · Backend Development

Custom Spring Boot Packaging: Using spring-boot-maven-plugin and maven-assembly-plugin to Separate Dependencies

This article explains how to create a Spring Boot package that keeps dependencies external by configuring the spring-boot-maven-plugin and maven-assembly-plugin, using a ZIP layout and PropertiesLauncher, so the application can be started with a custom loader.path that points to a libs directory.

Backend DevelopmentFat JarJava
0 likes · 6 min read
Custom Spring Boot Packaging: Using spring-boot-maven-plugin and maven-assembly-plugin to Separate Dependencies