Tag

reflection

1 views collected around this technical thread.

macrozheng
macrozheng
Jun 16, 2025 · Backend Development

Hot‑Deploying User‑Defined Interfaces in Spring Boot: Reflection vs Annotation

This article demonstrates how to design a simple Calculator interface, provide two implementation strategies (annotation‑managed and reflection‑based), and achieve hot deployment of user‑supplied JARs in a Spring Boot application, including loading, registering, and removing beans dynamically.

Hot DeploymentJavaSpring Boot
0 likes · 9 min read
Hot‑Deploying User‑Defined Interfaces in Spring Boot: Reflection vs Annotation
Java Captain
Java Captain
May 16, 2025 · Backend Development

Open-Source Java JSON Framework with Reflection-Based Serialization and Deserialization

This article introduces an open‑source Java JSON framework that uses recursive parsing and reflection to serialize and deserialize objects without third‑party libraries, supports generic and array types, and provides extensible features such as custom annotations, JsonPath, and HTML‑safe output.

JSONJavaOpenSource
0 likes · 14 min read
Open-Source Java JSON Framework with Reflection-Based Serialization and Deserialization
Java Captain
Java Captain
May 12, 2025 · Backend Development

Automatic Construction of MyBatis-Plus QueryWrapper Using Reflection and Generics

This article describes a utility method that leverages Java reflection and generics to automatically generate a MyBatis-Plus QueryWrapper from a DTO, handling field‑name mapping, type‑specific query conditions, and camel‑to‑snake case conversion for seamless database queries.

JavaMyBatis-PlusORM
0 likes · 4 min read
Automatic Construction of MyBatis-Plus QueryWrapper Using Reflection and Generics
Java Captain
Java Captain
Apr 21, 2025 · Backend Development

Understanding Java Annotations and Reflection: Built‑in Annotations, Meta‑annotations, Custom Annotations, Class Loading and Runtime Reflection

This article explains Java annotations—including built‑in, meta‑ and custom annotations—covers how they are used in Spring, describes the Java reflection mechanism, class loading process, ways to obtain Class objects, and demonstrates retrieving generic and annotation information at runtime with code examples.

AnnotationsClassLoaderJava
0 likes · 15 min read
Understanding Java Annotations and Reflection: Built‑in Annotations, Meta‑annotations, Custom Annotations, Class Loading and Runtime Reflection
Top Architect
Top Architect
Apr 9, 2025 · Backend Development

Spring Utility Classes Overview: Assertions, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ReflectionUtils, and AOP Utilities

This article provides a comprehensive guide to Spring's built‑in utility classes—including Assert, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ReflectionUtils, and AopUtils—showing their purpose, typical usage patterns, and example method signatures for developers working on Java backend projects.

AOPAssertionsJava
0 likes · 17 min read
Spring Utility Classes Overview: Assertions, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ReflectionUtils, and AOP Utilities
Java Tech Enthusiast
Java Tech Enthusiast
Apr 2, 2025 · Backend Development

Java Object Creation: New vs Reflection Efficiency Comparison

The article compares Java object creation using the 'new' operator versus reflection, showing through timed code examples that reflection incurs a substantial overhead—approximately thirty times slower for 100 million instances—due to dynamic type resolution and limited JIT optimization, while also outlining typical reflection use cases such as Spring IoC and JDBC driver loading.

JavaObject CreationPerformance
0 likes · 4 min read
Java Object Creation: New vs Reflection Efficiency Comparison
FunTester
FunTester
Feb 21, 2025 · Backend Development

FastClasspathScanner: High-Performance Java Classpath Scanning Library Overview

FastClasspathScanner (formerly ClassGraph) is a high-performance Java library that dramatically speeds up classpath scanning by using multithreaded processing, smart caching, and efficient handling of complex hierarchies, making reflection-heavy frameworks, plugin systems, web applications, and code-analysis tools faster and more memory-efficient.

Classpath ScanningFastClasspathScannerJava
0 likes · 9 min read
FastClasspathScanner: High-Performance Java Classpath Scanning Library Overview
Model Perspective
Model Perspective
Feb 7, 2025 · R&D Management

How Structured Reflection Boosts Decision-Making: Gibbs' Cycle and Time Allocation

This article explains why post‑action reflection is essential, introduces Gibbs' six‑step reflective cycle, and offers practical time‑allocation guidelines for the four phases of decision‑making to help individuals and teams improve learning and future performance.

Gibbs cycleR&D managementdecision-making
0 likes · 9 min read
How Structured Reflection Boosts Decision-Making: Gibbs' Cycle and Time Allocation
DataFunTalk
DataFunTalk
Jan 27, 2025 · Artificial Intelligence

Improving AI Agent Planning and Reasoning: Challenges and Practical Solutions

The article examines current limitations of AI agents in planning and complex reasoning, critiques existing methods like COT/TOT and ReAct, and proposes practical strategies—including combined COT‑Reflection approaches, structured memory algorithms, and white‑box interaction designs—to enhance agent performance within the DataFun knowledge map framework.

AI AgentCoTdata modeling
0 likes · 3 min read
Improving AI Agent Planning and Reasoning: Challenges and Practical Solutions
macrozheng
macrozheng
Jan 24, 2025 · Backend Development

How to Hot‑Deploy Custom Java Interfaces with Spring Boot and Reflection

This guide demonstrates how to enable hot deployment of user‑provided Java interface implementations in a Spring Boot application, covering both annotation‑based and reflection‑based approaches, jar uploading, dynamic bean registration, class loading, and cleanup, with complete code examples.

Dynamic Bean RegistrationHot DeploymentJava
0 likes · 8 min read
How to Hot‑Deploy Custom Java Interfaces with Spring Boot and Reflection
Raymond Ops
Raymond Ops
Jan 17, 2025 · Fundamentals

Unlocking Go’s Type System: From Basic Types to Reflection

This article explains Go’s static type system, introduces custom types and interface types, demonstrates how empty interfaces work, and shows how the reflect package can inspect and modify values at runtime, including struct fields, using concrete code examples.

gointerfacesprogramming
0 likes · 13 min read
Unlocking Go’s Type System: From Basic Types to Reflection
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 29, 2024 · Backend Development

Deep Dive into Spring's @Autowired Annotation: Implementation and Injection Mechanism

This article provides a comprehensive analysis of Spring's @Autowired annotation, explaining its purpose, usage in constructor, field, and method injection, and detailing the underlying bean post‑processor logic, dependency resolution, and candidate selection that enable automatic dependency injection.

AutowiredBeanPostProcessorJava
0 likes · 10 min read
Deep Dive into Spring's @Autowired Annotation: Implementation and Injection Mechanism
Java Architect Essentials
Java Architect Essentials
Dec 8, 2024 · Backend Development

Universal Java Class to Excel Export Using Reflection and Apache POI

This article demonstrates how to create a generic utility that, through Java reflection and Apache POI, can export any list of objects—regardless of their class—into a CSV/Excel file, with optional custom column names via annotations.

Apache POICSVExcel
0 likes · 11 min read
Universal Java Class to Excel Export Using Reflection and Apache POI
Top Architect
Top Architect
Nov 18, 2024 · Backend Development

Comprehensive Guide to Spring Framework Utility Classes and Their Usage

This article presents a detailed overview of Spring's utility classes—including Assert, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ResourceUtils, StreamUtils, ReflectionUtils, and AOP helpers—provides code examples for each, and also contains promotional information about ChatGPT services and a developer community.

AOPAssertionsJava
0 likes · 18 min read
Comprehensive Guide to Spring Framework Utility Classes and Their Usage
Java Tech Enthusiast
Java Tech Enthusiast
Nov 15, 2024 · Fundamentals

C++26 Reflections, Safety, and Emerging Security Guidelines

After 22 years at Microsoft, Herb Sutter departs for Citadel while staying ISO C++ chair, declaring 2024 pivotal as C++26 introduces reflection‑driven compile‑time libraries and default safety—potentially the most impactful release since C++11—while U.S. CISA and the FBI urge memory‑unsafe language users to publish safety roadmaps by January 2026.

C++C++26Safety
0 likes · 6 min read
C++26 Reflections, Safety, and Emerging Security Guidelines
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.

Hot DeploymentJavaSpring
0 likes · 9 min read
Hot‑Deployable Java Interface Implementations Using Jar Upload, Reflection, and Spring
DeWu Technology
DeWu Technology
Nov 11, 2024 · Backend Development

Precise Testing Platform: Architecture, Recommendation Engine, and Graph Database Implementation

The Precise Testing Platform combines a recommendation engine—featuring a link analyzer, diff analyzer, and knowledge base—to automatically construct detailed method‑call graphs from source code, extract HTTP and Dubbo APIs, handle reflections and inheritance, and store billions of nodes in Nebula Graph, thereby eliminating blind, missed, and redundant tests while boosting coverage and reducing testing costs.

ASTJavabackend development
0 likes · 54 min read
Precise Testing Platform: Architecture, Recommendation Engine, and Graph Database Implementation
Top Architect
Top Architect
Nov 5, 2024 · Backend Development

Spring Boot Utility Classes Overview: Assertions, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ReflectionUtils, and AopUtils

This article introduces a comprehensive set of Spring Boot utility classes—including assertion helpers, object and string utilities, collection operations, file and resource handling, reflection tools, and AOP utilities—providing code examples and usage guidelines for Java backend development.

AssertionsFile I/OJava
0 likes · 16 min read
Spring Boot Utility Classes Overview: Assertions, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ReflectionUtils, and AopUtils
Top Architect
Top Architect
Oct 17, 2024 · Backend Development

Spring Utility Classes Overview: Assertions, ObjectUtils, CollectionUtils, File/IO, and Reflection/AOP

This article, written by a senior architect, reviews Spring’s built‑in utility classes—including assertions, object and collection helpers, file/IO operations, and reflection/AOP tools—providing code snippets and usage notes to help developers replace redundant custom utilities and improve backend Java code quality.

AssertionsJavaSpring
0 likes · 15 min read
Spring Utility Classes Overview: Assertions, ObjectUtils, CollectionUtils, File/IO, and Reflection/AOP
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 17, 2024 · Backend Development

Performance Comparison Between JDK Reflection and Spring's ReflectionUtils

This article analyzes the performance differences between native Java reflection and Spring Framework's ReflectionUtils by running benchmark tests, examining source code caching mechanisms, and explaining why ReflectionUtils can be faster for repeated method and field access in backend applications.

JavaSpringbackend
0 likes · 13 min read
Performance Comparison Between JDK Reflection and Spring's ReflectionUtils