Tagged articles
JAR Loading
11 articles · Page 1 of 1
This article walks through defining a simple Calculator interface, provides two implementation styles, and demonstrates both reflection‑based and annotation‑based hot‑deployment of uploaded JARs in a Spring application, including bean registration, removal, and a test loop.
Dynamic Bean RegistrationHot DeploymentJAR Loading
0 likes · 8 min read

This article walks through building a simple Calculator interface, creating a dual‑mode implementation, and then dynamically loading, registering, and unloading user‑supplied JAR files at runtime using reflection or Spring annotation processing, complete with utility methods and a test harness.
Dynamic Bean RegistrationHot DeploymentJAR Loading
0 likes · 9 min read

This guide explains two straightforward steps to load external JAR files into the JVM and make Spring Boot scan them, covering three implementation options—extending the classpath, using Spring Boot’s loader.path parameter, and creating a custom classloader—along with configuration details, Maven settings, and runtime considerations.
ClassLoaderJAR LoadingJava
0 likes · 9 min read

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.
ClassLoaderJAR LoadingJava
0 likes · 8 min read

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 DeploymentJAR Loading
0 likes · 9 min read

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 DeploymentJAR Loading
0 likes · 8 min read

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.
Hot DeploymentJAR LoadingJava
0 likes · 8 min read

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.
BackendJAR Loadingdependency-injection
0 likes · 11 min read

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.
Dynamic Bean RegistrationHot DeploymentJAR Loading
0 likes · 8 min read

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

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 DeploymentJAR Loading
0 likes · 10 min read
