Tagged articles
3 articles
Page 1 of 1
政采云技术
政采云技术
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.

Dynamic CompilationJavaJavaCompiler
0 likes · 16 min read
Practical Use of Java Dynamic Compilation in Projects
Programmer DD
Programmer DD
Jul 10, 2021 · Backend Development

How to Validate Spring Cloud Dynamic Configs with In‑Memory Java Compilation

This article explains how to build a runtime validator for Spring Cloud dynamic configuration by generating Java classes from .properties files, compiling them in memory with JavaCompiler, loading them via a custom ClassLoader, and integrating the result into the Spring context to catch configuration errors early.

Dynamic ConfigurationJavaCompilerSpring Cloud
0 likes · 8 min read
How to Validate Spring Cloud Dynamic Configs with In‑Memory Java Compilation