Tagged articles

Annotation

178 articles · Page 2 of 2
Java Architect Essentials
Java Architect Essentials
Oct 18, 2023 · Backend Development

Design and Implementation of a Reactive Download Library for Spring MVC/WebFlux

This article introduces a Java library that simplifies downloading various resources—files, HTTP URLs, or custom objects—by using a single @Download annotation, reactive programming, customizable handlers, source factories, concurrent loading, compression, and event‑driven logging to streamline complex download workflows in Spring MVC and WebFlux applications.

AnnotationDownloadJava
0 likes · 16 min read
Design and Implementation of a Reactive Download Library for Spring MVC/WebFlux
JD Tech
JD Tech
Sep 26, 2023 · Backend Development

Building a Simple Java Framework with ChatGPT: From Concept to Performance Testing

This article demonstrates how to use ChatGPT step‑by‑step to design, generate, refine, and test a lightweight Java framework that automatically maps enum descriptions for front‑end consumption, covering problem definition, annotation design, core class implementation, code snippets, and performance evaluation.

AnnotationBackend DevelopmentChatGPT
0 likes · 11 min read
Building a Simple Java Framework with ChatGPT: From Concept to Performance Testing
Java Architect Essentials
Java Architect Essentials
Sep 6, 2023 · Backend Development

Achieve WebSocket Load Balancing Across Microservice Instances with a Single Annotation

This article explains how to solve the WebSocket message delivery problem in microservice architectures by using a lightweight library that provides an @EnableWebSocketLoadBalanceConcept annotation, detailing its design, connection management, message routing, and customizable selectors for targeted delivery.

AnnotationJavaMicroservices
0 likes · 13 min read
Achieve WebSocket Load Balancing Across Microservice Instances with a Single Annotation
JD Retail Technology
JD Retail Technology
Aug 31, 2023 · Backend Development

Using ChatGPT to Build a Simple Java Enum Mapping Framework

This article demonstrates how Java developers can leverage ChatGPT to design and iteratively refine a lightweight backend framework that automatically scans annotated enums and generates key‑description maps for front‑end consumption, complete with code examples, performance testing, and deployment guidance.

AnnotationChatGPTEnum
0 likes · 9 min read
Using ChatGPT to Build a Simple Java Enum Mapping Framework
Su San Talks Tech
Su San Talks Tech
Aug 17, 2023 · Backend Development

Ensuring API Idempotency with Spring, Redis, and Custom Annotations

This article explains the concept of idempotency, identifies which HTTP methods are naturally idempotent, and demonstrates a complete Java Spring solution—including custom annotations, AOP handling, token generation, and Redis storage—to guarantee safe retry and duplicate‑request protection.

AOPAnnotationJava
0 likes · 11 min read
Ensuring API Idempotency with Spring, Redis, and Custom Annotations
Top Architect
Top Architect
Aug 13, 2023 · Backend Development

Implementing Idempotency in Spring Boot with Custom Annotations and Redis

This article explains the concept of idempotency, identifies naturally idempotent HTTP methods, discusses why idempotency is essential for retries, async callbacks, and message queues, and provides a complete Spring Boot implementation using a custom @Idempotent annotation, AOP, and Redis for token storage.

AnnotationJavaRedis
0 likes · 12 min read
Implementing Idempotency in Spring Boot with Custom Annotations and Redis
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.

AnnotationDependency InjectionMiddleware
0 likes · 13 min read
TheRouter-iOS: A Lightweight Routing Middleware for Mobile Apps
Shepherd Advanced Notes
Shepherd Advanced Notes
May 8, 2023 · Backend Development

Elegant Ways to Boost API Data Security in Spring Boot

The article explains how to protect Spring Boot APIs from unauthorized data access by adding data‑level permission checks, encrypting request parameters with AES and RSA, signing requests with SHA1WithRSA, and encapsulating the logic in a reusable @ApiSecurity annotation and AOP aspect.

AOPAPI SecurityAnnotation
0 likes · 22 min read
Elegant Ways to Boost API Data Security in Spring Boot
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.

AnnotationJavaRedis
0 likes · 16 min read
Implementing Interface Rate Limiting with Spring Interceptor and Redis (Demo)
Shepherd Advanced Notes
Shepherd Advanced Notes
Apr 3, 2023 · Backend Development

Deep Dive into Spring’s @ComponentScan: Usage and Underlying Mechanics

This article explains why Spring Boot is popular, how @ComponentScan discovers @Component, @Controller, @Service, and @Repository beans across packages, demonstrates usage with code examples, and details the internal processing flow involving ConfigurationClassPostProcessor and related parsers.

AnnotationConfigurationDependency Injection
0 likes · 15 min read
Deep Dive into Spring’s @ComponentScan: Usage and Underlying Mechanics
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.

AnnotationJavaSpring 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.

AnnotationBizLog SDKJava
0 likes · 15 min read
Mastering BizLog SDK: Seamless Log Recording for Spring Boot Applications
Shepherd Advanced Notes
Shepherd Advanced Notes
Jan 12, 2023 · Information Security

How to Secure Backend APIs with Spring Security

This tutorial explains why backend API permission checks are essential in RBAC‑based systems, walks through configuring Spring Security for authentication and authorization, demonstrates URL‑level and annotation‑based access control, and discusses token‑driven role verification and caching strategies.

AnnotationAuthorizationBackend Security
0 likes · 14 min read
How to Secure Backend APIs with Spring Security
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.

AOPAnnotationDynamicProxy
0 likes · 45 min read
Understanding Java Reflection, Class Loading, and Dynamic Proxy Mechanisms
Top Architect
Top Architect
Jun 23, 2022 · Backend Development

Hot Deployment of User‑Implemented Interfaces in Java: Annotation and Reflection Approaches

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.

AnnotationDynamic Bean RegistrationHot Deployment
0 likes · 8 min read
Hot Deployment of User‑Implemented Interfaces in Java: Annotation and Reflection Approaches
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.

AnnotationJavaSpring
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.

AOPAnnotationDistributedLock
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.

AnnotationJavaScheduling
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.

AnnotationDependency InjectionIOC
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 evaluationAnnotationMetrics
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.

AnnotationCanvasDocument Reader
0 likes · 8 min read
Next-Generation Document Reader Architecture and Implementation Using Canvas
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.

AnnotationBeanImport
0 likes · 18 min read
Mastering Spring Bean Definitions: XML, Annotations, JavaConfig & Import Techniques
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.

AnnotationDynamic RegistrationJava
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.

AOPAnnotationBizLog
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.

AnnotationBizLogJava
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.

AOPAnnotationBackend Development
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.

AnnotationBizLogJava
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.

AnnotationEncryptionMyBatis
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.

AnnotationAutoConfigurationComponentScan
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.

AnnotationBackend AdminErupt
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.

AnnotationData InfrastructureData Security
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.

AnnotationJavaMath
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.

APIAnnotationJava
0 likes · 8 min read
Designing a Unified API Response Structure with @ResponseResult in Spring Backend
Java Architect Essentials
Java Architect Essentials
Jan 6, 2021 · Backend Development

Designing a Unified API Response Format with Result Wrapper and @ResponseResult Annotation

This article explains how to standardize backend API responses by defining a JSON result structure, categorizing status codes, and using a custom @ResponseResult annotation with Spring's ResponseBodyAdvice to automatically wrap controller outputs, improving readability and error handling for front‑end developers.

APIAnnotationJava
0 likes · 9 min read
Designing a Unified API Response Format with Result Wrapper and @ResponseResult Annotation
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.

AIAnnotationAutomation
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.

APIAnnotationDDD
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.

Annotationcomponent-scanmapper-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.

Annotationidempotency
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.

AnnotationRedisSpring Boot
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.

Annotationbackenddistributed systems
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.

@TransactionalAOPAnnotation
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.

AnnotationJavaRedis
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.

AnnotationDARTFlutter
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.

AnnotationConfigurationJava
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.

AnnotationJavabackend
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.

AOPAnnotationJDBC
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.

AnnotationEasyExcelExcel Export
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.

AnnotationBean ValidationJava
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.

AnnotationBeanDependency Injection
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.

AnnotationDistributed LockJava
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.

AnnotationJavaSpring Boot
0 likes · 15 min read
Deep Dive into Spring Boot Startup Process and Class Loading Mechanism