Tagged articles
168 articles
Page 2 of 2
Huolala Tech
Huolala Tech
Aug 8, 2023 · Mobile Development

TheRouter-iOS: A Lightweight Routing Middleware for Mobile Apps

TheRouter-iOS is a lightweight, annotation‑driven routing middleware that brings Java‑style dependency injection, hard‑code elimination, dynamic redirection, interceptors, and flexible navigation to iOS, offering a unified solution for complex mobile architectures and seamless integration with Android and web components.

Mobile Developmentannotationdependency-injection
0 likes · 13 min read
TheRouter-iOS: A Lightweight Routing Middleware for Mobile Apps
Selected Java Interview Questions
Selected Java Interview Questions
Apr 23, 2023 · Backend Development

Implementing Interface Rate Limiting with Spring Interceptor and Redis (Demo)

This article demonstrates a step‑by‑step implementation of API request throttling in a Spring backend using an Interceptor and Redis, covering the underlying principle, configurable limits, custom annotations, reflection‑based flexibility, and practical considerations such as path parameters and real‑IP handling.

InterceptorJavaannotation
0 likes · 16 min read
Implementing Interface Rate Limiting with Spring Interceptor and Redis (Demo)
Top Architect
Top Architect
Mar 25, 2023 · Backend Development

Implementing Request Rate Limiting in Spring Boot with Custom Annotation and Redis

This article explains how to limit the number of requests an interface can receive within a specific time window in a Spring Boot application by using a custom @RequestLimit annotation, Redis for counting, and a Spring interceptor to enforce the limits, complete with full code examples and configuration steps.

BackendJavaSpring Boot
0 likes · 10 min read
Implementing Request Rate Limiting in Spring Boot with Custom Annotation and Redis
Java High-Performance Architecture
Java High-Performance Architecture
Mar 10, 2023 · Backend Development

Mastering BizLog SDK: Seamless Log Recording for Spring Boot Applications

This article introduces the BizLog SDK for Java, explains its Spring Boot autoconfiguration, demonstrates how to add Maven dependencies, enable logging with @EnableLogRecord, craft log messages using @LogRecordAnnotation with SpEL expressions, and extend the framework with custom parse functions and operator services.

BizLog SDKJavaSpEL
0 likes · 15 min read
Mastering BizLog SDK: Seamless Log Recording for Spring Boot Applications
Wukong Talks Architecture
Wukong Talks Architecture
Jul 31, 2022 · Backend Development

Understanding Java Reflection, Class Loading, and Dynamic Proxy Mechanisms

This article provides a comprehensive guide to Java's reflection mechanism, class loading process, ClassLoader usage, and dynamic proxy techniques, illustrating how to inspect class structures, create objects, access fields and methods, retrieve generic type information, and implement both static and dynamic proxies with practical code examples.

DynamicProxyGenericsJava
0 likes · 45 min read
Understanding Java Reflection, Class Loading, and Dynamic Proxy Mechanisms
Code Ape Tech Column
Code Ape Tech Column
Jun 21, 2022 · Information Security

Implementing Data Desensitization with Custom Jackson Annotations in Java

This article explains how to mask sensitive fields such as ID numbers, phone numbers, and addresses in Java APIs by creating a custom @Sensitive annotation, defining masking strategies, implementing a Jackson serializer, and testing the solution with a Spring REST controller, providing complete code examples and sample output.

BackendJacksonJava
0 likes · 6 min read
Implementing Data Desensitization with Custom Jackson Annotations in Java
Top Architect
Top Architect
Jun 15, 2022 · Backend Development

Implementing Request-Level Locking with a Custom @ApiLock Annotation in Java

This article explains how to prevent duplicate backend requests caused by rapid user clicks by creating a reusable @ApiLock annotation that leverages distributed locks, generates lock keys from request parameters, and integrates an AOP aspect to acquire and release locks around controller methods.

DistributedLockJavaannotation
0 likes · 14 min read
Implementing Request-Level Locking with a Custom @ApiLock Annotation in Java
Cognitive Technology Team
Cognitive Technology Team
Jun 10, 2022 · Backend Development

Understanding Spring's @Scheduled Annotation and Its Task Scheduling Mechanism

This article explains how Spring's @Scheduled annotation works, covering configuration options like cron, fixedDelay and fixedRate, the internal processing by ScheduledAnnotationBeanPostProcessor, method reflection, task registration with ScheduledTaskRegistrar, and the underlying execution using ThreadPoolTaskScheduler and ScheduledThreadPoolExecutor.

JavaSchedulingTaskScheduler
0 likes · 6 min read
Understanding Spring's @Scheduled Annotation and Its Task Scheduling Mechanism
Sohu Tech Products
Sohu Tech Products
Mar 23, 2022 · Backend Development

Building a Simple Spring IOC Container: XML and Annotation‑Based Bean Assembly

This article demonstrates how to create a lightweight Spring‑style IoC container in Java by parsing a properties file for XML‑like configuration, implementing annotation‑driven bean registration with a custom @Bean annotation, and adding automatic field injection using a custom @Autowired annotation, complete with full source code examples.

IoCJavaReflection
0 likes · 11 min read
Building a Simple Spring IOC Container: XML and Annotation‑Based Bean Assembly
DataFunSummit
DataFunSummit
Dec 27, 2021 · Artificial Intelligence

Evaluation Framework and Methodology for OPPO XiaoBu AI Assistant

This article presents a comprehensive evaluation framework for OPPO's XiaoBu AI assistant, covering the concept and purpose of evaluation, the five key evaluation elements, data sampling strategies, dimension and rule selection, annotation scoring, reporting guidelines, and detailed procedures for assessing wake‑up, ASR, NLU, and TTS performance.

AI EvaluationReportingVoice Assistant
0 likes · 20 min read
Evaluation Framework and Methodology for OPPO XiaoBu AI Assistant
Baidu Geek Talk
Baidu Geek Talk
Dec 6, 2021 · Frontend Development

Next-Generation Document Reader Architecture and Implementation Using Canvas

The team replaced Baidu Wenku’s HTML‑CSS reader with a Canvas‑based architecture (CReader) that separates logic, data, parsing, rendering and application layers, enabling direct long‑image export, fast text selection, anti‑copy protection, annotation support, and cross‑platform deployment on PC, WAP and mini‑programs.

CanvasDocument ReaderText Selection
0 likes · 8 min read
Next-Generation Document Reader Architecture and Implementation Using Canvas
Programmer DD
Programmer DD
Oct 22, 2021 · Backend Development

Implementing Automatic Idempotency in Spring Boot with Redis and Interceptors

This tutorial explains the concept of idempotency in web APIs and demonstrates a complete Spring Boot solution using Redis, custom annotations, token validation, and interceptor configuration to ensure that each request modifies the database only once, even under repeated calls.

IdempotencyInterceptorJava
0 likes · 12 min read
Implementing Automatic Idempotency in Spring Boot with Redis and Interceptors
Meituan Technology Team
Meituan Technology Team
Sep 16, 2021 · Backend Development

Elegant Operation Log Recording in Backend Systems Using AOP and Annotations

The article demonstrates how to implement elegant, business‑logic‑independent operation logging in Java back‑ends by using AOP‑driven annotations, SpEL dynamic templates, custom parse functions, thread‑local context, and a Spring Boot starter, offering flexible persistence and automatic operator retrieval.

BackendJavaOperation Log
0 likes · 27 min read
Elegant Operation Log Recording in Backend Systems Using AOP and Annotations
Java Backend Technology
Java Backend Technology
Sep 12, 2021 · Backend Development

Mastering Spring Bean Definitions: XML, Annotations, JavaConfig & Import Techniques

This comprehensive guide explores every way to define Spring beans—from classic XML configurations and constructor or setter injection to modern @Component annotations, JavaConfig @Bean methods, and advanced @Import, ImportSelector, and post‑processor techniques—empowering developers to choose the most suitable approach for any project.

ImportJavaConfigPostProcessor
0 likes · 18 min read
Mastering Spring Bean Definitions: XML, Annotations, JavaConfig & Import Techniques
Top Architect
Top Architect
Aug 6, 2021 · Backend Development

Implementing Rate Limiting in Spring Boot Using a Custom Annotation and Redis

This article demonstrates how to create a custom @AccessLimit annotation, implement a Spring Boot interceptor that checks Redis for request counts, register the interceptor, and apply the annotation to a controller method to enforce rate‑limiting with optional login verification.

InterceptorJavaSpring Boot
0 likes · 4 min read
Implementing Rate Limiting in Spring Boot Using a Custom Annotation and Redis
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 8, 2021 · Backend Development

Mastering Servlet Registration in Spring Boot 2.3.9: From Annotations to Dynamic Registration

This guide explains three ways to register Servlets in Spring Boot 2.3.9—including @ServletComponentScan with @WebServlet, ServletRegistrationBean, and dynamic registration via ServletContextInitializer—while detailing the underlying scanning mechanism, BeanFactory post‑processor workflow, and how Tomcat ultimately registers the servlet.

Dynamic RegistrationJavaServlet
0 likes · 11 min read
Mastering Servlet Registration in Spring Boot 2.3.9: From Annotations to Dynamic Registration
Java High-Performance Architecture
Java High-Performance Architecture
Jul 6, 2021 · Backend Development

How to Implement Fine‑Grained Operation Logging in Spring Boot with BizLog SDK

This article explains how the BizLog component records who performed which action at what time in Spring Boot applications, covering Maven setup, annotation usage, custom operators, detail fields, category segregation, SpEL expressions, custom parse functions, and extension points for persistence and operator retrieval.

BizLogJavaSpring Boot
0 likes · 16 min read
How to Implement Fine‑Grained Operation Logging in Spring Boot with BizLog SDK
Top Architect
Top Architect
Jun 28, 2021 · Backend Development

Spring Boot Annotation for Operation Logging (BizLog SDK)

This article introduces a Spring Boot component that automatically records who performed which operation at what time, explains its Maven dependency, configuration, usage of @EnableLogRecord and @LogRecordAnnotation with SpEL expressions, custom operators, detail fields, log categories, and extensibility through custom parse functions and service implementations.

BizLogJavaSpEL
0 likes · 13 min read
Spring Boot Annotation for Operation Logging (BizLog SDK)
Java Interview Crash Guide
Java Interview Crash Guide
Jun 1, 2021 · Backend Development

How Does Spring’s @Transactional Work? A Deep Dive into AOP and Transaction Management

This article explains the purpose and inner workings of Spring’s @Transactional annotation, detailing how AOP creates proxies, defines pointcuts, and orchestrates transaction management through BeanPostProcessors, advisors, interceptors, and the TransactionInterceptor, illustrated with source code snippets and diagrams.

Backend DevelopmentJavaannotation
0 likes · 10 min read
How Does Spring’s @Transactional Work? A Deep Dive into AOP and Transaction Management
Architecture Digest
Architecture Digest
May 29, 2021 · Backend Development

Using the BizLog SDK in Spring Boot: Configuration, Annotations, and Custom Extensions

This article introduces the BizLog SDK for Spring Boot, explains how to add the Maven dependency, enable the @EnableLogRecord switch, use @LogRecordAnnotation for various logging scenarios, customize operators, details, categories, and parse functions, and shows how to extend the framework with custom services and implementations.

BizLogJavaSpEL
0 likes · 14 min read
Using the BizLog SDK in Spring Boot: Configuration, Annotations, and Custom Extensions
Code Ape Tech Column
Code Ape Tech Column
Apr 13, 2021 · Backend Development

Implementing Sensitive Data Encryption and Decryption in Spring Boot with MyBatis Interceptors and Custom Annotations

This article demonstrates how to automatically encrypt sensitive fields such as ID numbers and phone numbers before storing them in a database and decrypt them after retrieval by using Spring Boot, MyBatis plugins, and custom annotations, eliminating manual encryption logic in business code.

BackendInterceptorMyBatis
0 likes · 11 min read
Implementing Sensitive Data Encryption and Decryption in Spring Boot with MyBatis Interceptors and Custom Annotations
vivo Internet Technology
vivo Internet Technology
Apr 7, 2021 · Backend Development

Analysis of SpringBoot's @SpringBootApplication Annotation

The article dissects Spring Boot’s @SpringBootApplication annotation, revealing it as a composite of seven meta‑annotations—including @SpringBootConfiguration, @EnableAutoConfiguration and @ComponentScan—and explains the underlying registrar, import selector, metadata loading, and exclusion mechanisms that together drive Spring Boot’s automatic configuration process.

BackendComponentScanJava
0 likes · 12 min read
Analysis of SpringBoot's @SpringBootApplication Annotation
macrozheng
macrozheng
Apr 2, 2021 · Backend Development

Build a Full‑Featured Backend Admin System in Minutes with Erupt

This article walks you through setting up the Erupt Java annotation‑based framework, configuring Maven dependencies and datasource, launching a ready‑made admin UI, customizing pages with @Erupt annotations, and extending functionality via data proxies, all without writing front‑end code.

Backend AdminEruptJava
0 likes · 13 min read
Build a Full‑Featured Backend Admin System in Minutes with Erupt
DevOps
DevOps
Mar 10, 2021 · Artificial Intelligence

Ant Financial's Intelligent Middle Platform: AI Applications, Data Infrastructure, and Security Practices

This article presents Ant Financial's intelligent middle platform, detailing AI use cases such as risk control, wealth management, lending, marketing, insurance, and customer service, alongside the AI capability map, data foundation architecture, annotation workflows, security measures, and the overall impact on fintech innovation.

FinTechannotationdata infrastructure
0 likes · 8 min read
Ant Financial's Intelligent Middle Platform: AI Applications, Data Infrastructure, and Security Practices
Programmer DD
Programmer DD
Feb 26, 2021 · Backend Development

Unlock Complex Math in Java with MXReflection: Annotation‑Based Calculator

MXReflection is a Java framework built on the mXparser library that lets developers perform sophisticated mathematical calculations using simple @Arg and @Expression annotations, with Maven/Gradle integration, comprehensive function support, and example-driven usage for both simple and complex scenarios.

FrameworkJavaannotation
0 likes · 8 min read
Unlock Complex Math in Java with MXReflection: Annotation‑Based Calculator
Top Architect
Top Architect
Jan 16, 2021 · Backend Development

Designing a Unified API Response Structure with @ResponseResult in Spring Backend

This article explains how to design a unified API response format in a Spring backend by defining a JSON result structure, using standardized status codes, creating a @ResponseResult annotation, and implementing interceptors and ResponseBodyAdvice to automatically wrap controller outputs for cleaner, more maintainable code.

APIBackendJava
0 likes · 8 min read
Designing a Unified API Response Structure with @ResponseResult in Spring Backend
Alibaba Terminal Technology
Alibaba Terminal Technology
Dec 30, 2020 · Frontend Development

From PRD to Code: Alibaba’s P2C Front‑End Intelligence in Action

This talk explains Alibaba’s P2C product that extends design‑to‑code automation to PRD‑to‑code, detailing its layered architecture, annotation workflow, logical‑point extraction, code generation, and roadmap toward AI‑driven zero‑annotation development for front‑end engineers and product designers.

AIAutomationCode Generation
0 likes · 22 min read
From PRD to Code: Alibaba’s P2C Front‑End Intelligence in Action
Qunar Tech Salon
Qunar Tech Salon
Dec 29, 2020 · Backend Development

Qunar's API Standardization: From DDD to API Governance and QDoc Implementation

This article describes Qunar's comprehensive API standardization effort, detailing the evolution of their API tools, the motivations behind adopting DDD and API governance, the theoretical foundations, the QDoc annotation framework, implementation steps, challenges faced, achieved outcomes, and future plans for continuous improvement.

APIBackendDDD
0 likes · 18 min read
Qunar's API Standardization: From DDD to API Governance and QDoc Implementation
Selected Java Interview Questions
Selected Java Interview Questions
Nov 10, 2020 · Backend Development

Understanding the Priority and Interaction of SpringBootApplication, ComponentScan, and MapperScan Annotations

This article explains how SpringBootApplication, ComponentScan, and MapperScan annotations affect package scanning in Spring Boot, their precedence, differences, and the pitfalls of using them together, providing practical guidance for correctly configuring component and mapper scans in Java backend projects.

SpringBootannotationcomponent-scan
0 likes · 5 min read
Understanding the Priority and Interaction of SpringBootApplication, ComponentScan, and MapperScan Annotations
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 20, 2020 · Backend Development

General Idempotent Implementation for Backend Services

This article explains the concepts, challenges, and practical implementations of idempotency in backend systems, covering simple database‑record checks, concurrency handling with locks, a reusable idempotent component with multi‑level storage, annotation support, automatic key generation, and sample Java code.

Idempotencyannotation
0 likes · 11 min read
General Idempotent Implementation for Backend Services
Java Captain
Java Captain
Sep 14, 2020 · Backend Development

Implementing API Idempotency with Redis Token Mechanism in Spring Boot

This article explains the concept of API idempotency, outlines common solutions, and provides a complete Spring Boot implementation using Redis and a token mechanism, including custom annotation, interceptor, utility classes, and testing procedures to ensure safe, single‑execution requests.

InterceptorSpring BootToken
0 likes · 17 min read
Implementing API Idempotency with Redis Token Mechanism in Spring Boot
Java Backend Technology
Java Backend Technology
Sep 13, 2020 · Backend Development

How to Build a Robust Idempotent Framework for Distributed Systems

This article explains why idempotency is essential, presents simple database‑based and concurrency‑safe implementations, and then details a generic, annotation‑driven idempotent framework with multi‑level storage, code examples, and deployment guidelines for Java backend services.

BackendDistributed SystemsIdempotency
0 likes · 12 min read
How to Build a Robust Idempotent Framework for Distributed Systems
Top Architect
Top Architect
Sep 6, 2020 · Backend Development

Understanding Spring @Transactional: Common Pitfalls and Proper Usage

This article explains how Spring's @Transactional annotation works, common pitfalls such as using it on private methods, and the correct ways to configure propagation, isolation, and bean injection to ensure proper transaction rollback and non‑rollback behavior.

Javaannotationaop
0 likes · 8 min read
Understanding Spring @Transactional: Common Pitfalls and Proper Usage
Senior Brother's Insights
Senior Brother's Insights
Aug 6, 2020 · Backend Development

How to Achieve Automatic API Idempotency with Spring Boot, Redis, and Custom Annotations

This article explains how to implement automatic idempotency for Spring Boot APIs using Redis, a custom @AutoIdempotent annotation, token generation and validation, and an interceptor, providing step‑by‑step code examples, configuration details, and testing procedures to ensure each request is processed only once.

InterceptorJavaSpring Boot
0 likes · 12 min read
How to Achieve Automatic API Idempotency with Spring Boot, Redis, and Custom Annotations
Xianyu Technology
Xianyu Technology
Aug 4, 2020 · Mobile Development

Dart Annotation Code Generation in Flutter: Concepts and Implementation

Flutter’s lack of runtime reflection forces developers to use compile‑time annotation‑based code generation, where simple const annotations trigger custom generators defined via source_gen, configured in build.yaml, and can emit code through string concatenation, Mustache templates, or the code_builder library, offering a flexible alternative to Java’s APT approach.

DARTFlutterannotation
0 likes · 10 min read
Dart Annotation Code Generation in Flutter: Concepts and Implementation
Programmer DD
Programmer DD
Jul 29, 2020 · Backend Development

How Does Spring’s @Enable Annotation Work Under the Hood?

This article explains the internal mechanics of Spring's @Enable annotations, detailing how they rely on @Import, the role of ConfigurationClassPostProcessor, the parsing flow of configuration classes, and how CGLIB enhances @Configuration classes to manage @Bean method invocations.

ConfigurationJavaannotation
0 likes · 10 min read
How Does Spring’s @Enable Annotation Work Under the Hood?
Java Backend Technology
Java Backend Technology
May 12, 2020 · Backend Development

How to Build a Custom Java Logging Framework from Scratch

This article walks through the complete process of designing and implementing a lightweight Java logging framework—covering motivation, core components, annotation processing, configuration handling, message queuing, and a full example with code snippets and test results.

BackendFrameworkJava
0 likes · 21 min read
How to Build a Custom Java Logging Framework from Scratch
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 5, 2020 · Backend Development

How Spring’s @Transactional Works Under the Hood and Build Your Own Transaction Annotation

This article explains Spring Boot’s @Transactional implementation, covers transaction isolation levels and propagation, walks through the core source code of TransactionInterceptor and PlatformTransactionManager, and guides you step‑by‑step to create a custom annotation that rolls back on specified exceptions using JDBC and AOP.

JDBCannotationaop
0 likes · 15 min read
How Spring’s @Transactional Works Under the Hood and Build Your Own Transaction Annotation
Java Architecture Diary
Java Architecture Diary
Mar 31, 2020 · Backend Development

Master Fast, Low-Memory Excel Export in Spring Boot with EasyExcel

This guide introduces EasyExcel, a Java library for memory‑efficient Excel read/write, shows how to add the Spring Boot starter dependency, and demonstrates basic, custom, multi‑sheet, password‑protected, and template‑based export techniques using the @ResponseExcel annotation.

JavaSpring Bootannotation
0 likes · 6 min read
Master Fast, Low-Memory Excel Export in Spring Boot with EasyExcel
Programmer DD
Programmer DD
Dec 12, 2019 · Backend Development

Mastering Spring Boot Validation: Annotations, Custom Rules, and Global Error Handling

This article explains how to use Bean Validation in Spring Boot to replace repetitive IF‑ELSE checks with annotation‑driven parameter checks, covers built‑in and Hibernate‑specific constraints, demonstrates custom validators, group validation, and shows how to centralize error responses with a global exception handler.

Bean ValidationException HandlingJava
0 likes · 11 min read
Mastering Spring Boot Validation: Annotations, Custom Rules, and Global Error Handling
Senior Brother's Insights
Senior Brother's Insights
Feb 25, 2019 · Backend Development

Master Spring @Configuration and @Bean: From Java Classes to Fully Configured Beans

Spring’s shift from XML to annotation‑based configuration is explained, covering @Configuration and @Bean requirements, example Java classes, equivalent XML, annotation definitions, bean scopes, component scanning, unit‑testing, and practical tips for wiring beans without field injection, providing a complete guide for modern Spring development.

JavaSpring Bootannotation
0 likes · 8 min read
Master Spring @Configuration and @Bean: From Java Classes to Fully Configured Beans
Java Captain
Java Captain
Jan 29, 2019 · Backend Development

Implementing a Simple Seckill (Flash Sale) Using Redis Distributed Locks in Java

This article explains the business background of a flash‑sale (seckill) scenario, analyzes naive locking approaches, introduces Redis‑based distributed locks, and provides a complete Java demo with custom annotations, dynamic proxies, and a multithreaded test to ensure correct inventory decrement under high concurrency.

JavaSeckillannotation
0 likes · 15 min read
Implementing a Simple Seckill (Flash Sale) Using Redis Distributed Locks in Java
High Availability Architecture
High Availability Architecture
Jan 9, 2019 · Backend Development

Deep Dive into Spring Boot Startup Process and Class Loading Mechanism

This article explores the inner workings of Spring Boot by dissecting a simple Hello World application, analyzing its startup sequence, class loading via FatJar, the custom JarLauncher, and automatic registration of RestControllers, while highlighting performance considerations and the complexity of its annotation-driven configuration.

JavaSpring Bootannotation
0 likes · 15 min read
Deep Dive into Spring Boot Startup Process and Class Loading Mechanism
Java Captain
Java Captain
May 26, 2018 · Backend Development

Spring Task Scheduling: XML and Annotation Configurations with Cron Expressions

This article explains how to implement scheduled tasks in Spring using the lightweight Spring Task framework, covering both XML‑based and annotation‑based configurations, providing complete code examples, cron expression details, and practical tips for Java backend developers.

JavaXML Configurationannotation
0 likes · 9 min read
Spring Task Scheduling: XML and Annotation Configurations with Cron Expressions