Tagged articles
25 articles
Page 1 of 1
Su San Talks Tech
Su San Talks Tech
Jul 21, 2025 · Backend Development

How to Hot‑Deploy User‑Provided JARs with Spring and Reflection

This guide explains how to let users upload a JAR that implements a predefined interface, then hot‑deploy the new implementation at runtime using either Spring annotation‑based bean registration or pure Java reflection, complete with utility methods for loading, registering, and cleaning up beans.

Dynamic LoadingHot DeploymentJAR
0 likes · 9 min read
How to Hot‑Deploy User‑Provided JARs with Spring and Reflection
Architect
Architect
Jul 18, 2025 · Backend Development

How to Implement Hot Deployment of Custom Java Interfaces with Spring and Reflection

This article explains how to let users upload a JAR containing a custom implementation of a predefined Java interface, then hot‑deploy the new implementation using either Spring annotation‑based injection or pure reflection, covering interface definition, bean registration, and cleanup.

Dynamic LoadingHot DeploymentJAR
0 likes · 8 min read
How to Implement Hot Deployment of Custom Java Interfaces with Spring and Reflection
Code Ape Tech Column
Code Ape Tech Column
Jul 9, 2025 · Backend Development

Hot‑Deploy Custom Java Interfaces with JARs Using Spring and Reflection

This tutorial demonstrates how to let users upload a JAR that implements a predefined Java interface, then hot‑replace the implementation at runtime via reflection or Spring bean registration, covering interface definition, concrete classes, dynamic class loading, bean management, and testing.

Dynamic LoadingHot DeploymentJAR
0 likes · 9 min read
Hot‑Deploy Custom Java Interfaces with JARs Using Spring and Reflection
Java Web Project
Java Web Project
Jul 5, 2025 · Backend Development

How to Hot‑Deploy User‑Provided JAR Implementations with Spring and Reflection

This article walks through building a Java interface, providing two implementation styles (Spring‑managed and pure‑reflection), loading user‑uploaded JARs at runtime, dynamically registering or removing beans in the Spring container, and testing the whole hot‑deployment cycle with concrete code examples.

Dynamic LoadingHot DeploymentJAR
0 likes · 9 min read
How to Hot‑Deploy User‑Provided JAR Implementations with Spring and Reflection
Java Captain
Java Captain
May 23, 2025 · Backend Development

Resolving Spring Boot Resource Loading Errors When Running from a JAR

This article explains why a Spring Boot application fails to locate a template file when packaged as a JAR, details the step‑by‑step debugging process, and provides code solutions using ClassPathResource or PathMatchingResourcePatternResolver to correctly read resources inside the JAR.

BackendDebuggingJAR
0 likes · 5 min read
Resolving Spring Boot Resource Loading Errors When Running from a JAR
Java Architect Essentials
Java Architect Essentials
Sep 2, 2024 · Backend Development

Dynamic Loading of JAR Files in Spring Boot Applications

This article explains how to dynamically load JAR files in a Spring Boot application, covering core concepts, benefits, usage of SpringBootClassLoader, creation of JARs, and alternative third‑party OSGi‑resource‑locator approaches with full code examples.

Dynamic LoadingJARJava
0 likes · 8 min read
Dynamic Loading of JAR Files in Spring Boot Applications
Architect's Guide
Architect's Guide
Jul 9, 2024 · Backend Development

Reducing SpringBoot Jar Size by Excluding Unnecessary lib Dependencies

This guide explains why SpringBoot JAR files become large when bundled with many external libraries, and provides a step‑by‑step method—including Maven configuration changes and runtime loader settings—to shrink the JAR by removing the BOOT‑INF/lib folder while preserving application functionality.

DeploymentJARjar-reduction
0 likes · 5 min read
Reducing SpringBoot Jar Size by Excluding Unnecessary lib Dependencies
Code Ape Tech Column
Code Ape Tech Column
May 30, 2024 · Backend Development

Dynamic Loading of JAR Files in Spring Boot Applications

This article explains the concepts and step-by-step implementation of dynamically loading JAR packages in Spring Boot applications, covering built‑in classloader usage, creating JARs, and leveraging third‑party libraries to enhance flexibility and extensibility.

BackendDynamic LoadingJAR
0 likes · 9 min read
Dynamic Loading of JAR Files in Spring Boot Applications
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.

JARJavaSpring 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.

JARSpring BootTomcat
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.

JARServletSpring Boot
0 likes · 13 min read
How to Package Spring Boot Projects as JAR and WAR
DevOps Cloud Academy
DevOps Cloud Academy
Jun 3, 2023 · Backend Development

How to Extract and Inspect JAR Files Using Command‑Line Tools

This guide explains what JAR files are, the typical formats they contain for Java applications, and provides step‑by‑step command‑line commands—including jar and unzip—to list, extract, and examine the contents of JAR archives without modifying the original files.

JARJavaUnzip
0 likes · 3 min read
How to Extract and Inspect JAR Files Using Command‑Line Tools
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.

JARServletSpring Boot
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.

JARSpring BootTomcat
0 likes · 13 min read
Understanding the Difference Between JAR and WAR Packages in Spring Boot and How to Build Them
Qunar Tech Salon
Qunar Tech Salon
Jun 4, 2021 · Information Security

Automated Risk Monitoring and Upgrade of Jar Components at Qunar

This article describes Qunar's end‑to‑end automated workflow for detecting high‑risk Jar component vulnerabilities, collecting asset information, orchestrating remediation with a SOAR platform, and leveraging the TCDEV auto‑upgrade service to reduce manual effort and improve security operations efficiency.

AutomationJARSOAR
0 likes · 8 min read
Automated Risk Monitoring and Upgrade of Jar Components at Qunar
The Dominant Programmer
The Dominant Programmer
Aug 27, 2020 · Operations

How to Auto-Start a JAR on Windows After Reboot

This guide explains how to place a JAR file on a Windows server, create a batch script that runs the JAR, and configure the Windows Startup folder so the application launches automatically after the system restarts.

AutomationBatch fileJAR
0 likes · 3 min read
How to Auto-Start a JAR on Windows After Reboot
360 Quality & Efficiency
360 Quality & Efficiency
Aug 21, 2020 · Backend Development

Understanding JAR File Format, Manifest Specification, Signing, Indexing, and Service Provider Mechanism

This article provides a comprehensive overview of the JAR file format, detailing the structure and purpose of the META-INF directory, manifest sections, signing files, index files, class‑path attributes, and service provider configuration, while also presenting the formal syntax specifications and examples for each component.

JARindexmanifest
0 likes · 23 min read
Understanding JAR File Format, Manifest Specification, Signing, Indexing, and Service Provider Mechanism
Java Backend Technology
Java Backend Technology
Jul 27, 2019 · Backend Development

Unlock Java’s Hidden Power: Mastering SPI and JAR Mechanics

This article explains the fundamentals of Java SPI and JAR mechanisms, showing how to define and load service implementations, explore JAR metadata and commands, understand class‑loader hierarchies, Tomcat’s loader architecture, Spring Boot’s nested JAR handling, and how to create custom class loaders.

JARJavaSPI
0 likes · 10 min read
Unlock Java’s Hidden Power: Mastering SPI and JAR Mechanics