Tag

jar-loading

0 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Feb 20, 2025 · Backend Development

Loading External JARs into Spring Boot: Four Practical Approaches

This article explains how to make custom classes visible to Spring Boot by loading external JAR files through four methods—extending the classpath, using Spring Boot's loader.path parameter, creating a custom ClassLoader, and modifying the boot classpath—while also showing how to configure scanning and packaging details.

Backend DevelopmentClassLoaderJava
0 likes · 8 min read
Loading External JARs into Spring Boot: Four Practical Approaches
Architect
Architect
Nov 12, 2024 · Backend Development

Hot‑Deployable Java Interface Implementations Using Jar Upload, Reflection, and Spring

This article demonstrates how to let users upload a JAR containing a custom implementation of a predefined Java interface, then hot‑deploy the new implementation at runtime using either reflection or Spring bean registration, with complete code examples and utility methods.

BackendHot DeploymentJava
0 likes · 9 min read
Hot‑Deployable Java Interface Implementations Using Jar Upload, Reflection, and Spring
Architect's Guide
Architect's Guide
Sep 8, 2024 · Backend Development

Hot Deployment of Custom Interface Implementations in Java Using Reflection and Spring

This article explains how to let users upload a JAR containing a custom implementation of a predefined Java interface, then hot‑deploy the JAR by loading it with a URLClassLoader and dynamically registering or deregistering Spring beans using reflection or annotation modes.

BackendHot DeploymentJava
0 likes · 8 min read
Hot Deployment of Custom Interface Implementations in Java Using Reflection and Spring
Architecture Digest
Architecture Digest
Jul 7, 2024 · Backend Development

Hot Deployment of Custom Interface Implementations in Java Using Reflection and Spring

This article demonstrates how to define a simple Calculator interface, provide both annotation‑based and reflection‑based implementations, and dynamically hot‑deploy user‑supplied JAR files by loading them with URLClassLoader, registering Spring beans, and handling bean removal on JAR deletion.

Backend DevelopmentHot DeploymentJava
0 likes · 8 min read
Hot Deployment of Custom Interface Implementations in Java Using Reflection and Spring
Top Architect
Top Architect
Jun 30, 2024 · Backend Development

Hot Deployment of User-Implemented Java Interfaces Using Reflection and Spring

This article explains how to let users upload a JAR that implements a given Java interface, then hot‑deploy the new implementation either via reflection or Spring annotation, covering interface definition, code examples, bean registration, removal, and testing.

BackendHot DeploymentJava
0 likes · 11 min read
Hot Deployment of User-Implemented Java Interfaces Using Reflection and Spring
Top Architect
Top Architect
Jun 23, 2022 · Backend Development

Hot Deployment of User‑Implemented Interfaces in Java: Annotation and Reflection Approaches

This article demonstrates how to define a simple Java interface, provide two implementation styles (Spring‑annotation and pure‑reflection), package the implementation as a JAR, and dynamically load, register, replace, or remove the implementation at runtime using URLClassLoader and Spring's bean factory.

AnnotationDynamic Bean RegistrationHot Deployment
0 likes · 8 min read
Hot Deployment of User‑Implemented Interfaces in Java: Annotation and Reflection Approaches
Selected Java Interview Questions
Selected Java Interview Questions
Jun 20, 2022 · Backend Development

Hot Deployment of Custom Java Interface Implementations Using Reflection and Spring

This article demonstrates how to design a simple Calculator interface, provide two implementation strategies (annotation‑based Spring beans and reflection‑based classes), and dynamically load, register, and unload user‑supplied JAR files at runtime through hot‑deployment mechanisms in a Java backend system.

BackendDynamic Bean RegistrationHot Deployment
0 likes · 8 min read
Hot Deployment of Custom Java Interface Implementations Using Reflection and Spring
Top Architect
Top Architect
Jun 17, 2022 · Backend Development

Hot Deployment of Java Interface Implementations Using Jar Packages with Spring and Reflection

This article demonstrates how to design a simple Calculator interface, provide two implementation strategies (Spring annotation and reflection), and achieve hot deployment by uploading JAR files, dynamically loading classes, registering or removing beans in the Spring container, and testing the runtime behavior.

Dynamic Bean RegistrationHot DeploymentJava
0 likes · 10 min read
Hot Deployment of Java Interface Implementations Using Jar Packages with Spring and Reflection