Tag

Dynamic Compilation

1 views collected around this technical thread.

Java Tech Enthusiast
Java Tech Enthusiast
Mar 6, 2025 · Backend Development

Java Dynamic Compilation and Runtime Hot Reload with JavaCompiler and Custom ClassLoader

By using the JavaCompiler API to compile source files at runtime together with a custom ClassLoader that loads the generated bytecode, developers can hot‑reload changed classes instantly without restarting the JVM, enabling rapid iteration, plugin‑style extensions, and faster development cycles.

ClassLoaderDynamic CompilationJava
0 likes · 6 min read
Java Dynamic Compilation and Runtime Hot Reload with JavaCompiler and Custom ClassLoader
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 13, 2024 · Backend Development

Remote Hot Deployment (Mark42/Jarvis): Design, Implementation, and Practice

This article introduces the design and implementation of a remote hot‑deployment component (Mark42/Jarvis) built on Java Agent and an IDEA plugin, analyzes the challenges of dynamic compilation in Spring‑Boot fat‑jar environments, presents solution choices, and shares practical experiences and future directions.

Dynamic CompilationHot DeploymentJava
0 likes · 16 min read
Remote Hot Deployment (Mark42/Jarvis): Design, Implementation, and Practice
政采云技术
政采云技术
Jul 13, 2023 · Backend Development

Practical Use of Java Dynamic Compilation in Projects

This article explains how Java's dynamic compilation can be applied to modularize and simplify code management in large projects, demonstrates a basic implementation with code examples, and shows how to integrate the technique into Spring Boot applications while addressing class‑loader and dependency challenges.

ClassLoaderDynamic CompilationJava
0 likes · 16 min read
Practical Use of Java Dynamic Compilation in Projects