Tagged articles

Spring

1874 articles · Page 17 of 19
Java Captain
Java Captain
Aug 21, 2020 · Backend Development

Creating Custom Annotations for Validation, Permission, and Caching in Java Backend Development

This article explains how to design and implement custom Java annotations for field validation, permission checks, and caching, covering annotation definitions, target and retention policies, validator classes, interceptor and aspect implementations, and practical usage examples within Spring MVC.

Backend DevelopmentCustom AnnotationsJava
0 likes · 9 min read
Creating Custom Annotations for Validation, Permission, and Caching in Java Backend Development
Programmer DD
Programmer DD
Aug 19, 2020 · Backend Development

Unlocking Spring’s @Async: Deep Dive into Mechanics, Pitfalls, and Solutions

This article explores Spring’s @Async annotation in depth, detailing its basic usage, underlying proxy creation, pointcut logic, and asynchronous execution, while highlighting common issues such as circular dependencies and inefficient default thread pools, and providing practical solutions like lazy injection and custom executors.

@AsyncAOPDependencyInjection
0 likes · 15 min read
Unlocking Spring’s @Async: Deep Dive into Mechanics, Pitfalls, and Solutions
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 18, 2020 · Backend Development

Implementing Scheduled Tasks in Java: Timer, ScheduledExecutorService, Spring Task, and Distributed Approaches

This article explains several ways to implement scheduled tasks in Java, covering the simple Timer class, the more robust ScheduledExecutorService, Spring's @Scheduled annotation, and distributed solutions using Redis ZSet and key‑space notifications, with code examples and practical considerations.

JavaRedisScheduledExecutorService
0 likes · 16 min read
Implementing Scheduled Tasks in Java: Timer, ScheduledExecutorService, Spring Task, and Distributed Approaches
Java Backend Technology
Java Backend Technology
Aug 18, 2020 · Backend Development

Why Spring Controllers Are Not Thread‑Safe and How to Fix Them

Spring MVC controllers are singleton by default, which can cause thread‑unsafe behavior when using non‑static member variables; this article demonstrates the issue with example endpoints, shows how prototype scope resolves it, and outlines best practices such as avoiding stateful fields or using ThreadLocal.

Bean ScopeControllerJava
0 likes · 5 min read
Why Spring Controllers Are Not Thread‑Safe and How to Fix Them
Programmer DD
Programmer DD
Aug 6, 2020 · Backend Development

When to Use @Validated vs @Valid for Nested Validation in Spring

This article explains the differences between Spring's @Validated and the standard @Valid annotations, covering grouping support, where each can be applied, and how to enable nested validation for complex objects in controller parameters.

BackendNested ValidationSpring
0 likes · 6 min read
When to Use @Validated vs @Valid for Nested Validation in Spring
Programmer DD
Programmer DD
Aug 6, 2020 · Backend Development

Mastering Spring @Transactional: Exception Types and Rollback Strategies

This article explains Java exception classifications, how Spring's @Transactional handles checked and unchecked exceptions, and provides practical configurations to control transaction rollbacks, while offering best‑practice notes on annotation placement and method design.

@TransactionalSpringexception handling
0 likes · 6 min read
Mastering Spring @Transactional: Exception Types and Rollback Strategies
Programmer DD
Programmer DD
Jul 30, 2020 · Backend Development

When to Use Apache vs Spring BeanUtils for Java Object Copying

This article explains the differences between Apache BeanUtils and Spring BeanUtils for copying Java objects, covering shallow vs deep copy concepts, performance drawbacks of Apache's implementation, usage examples, and recommendations for alternative tools like CGLIB BeanCopier and Orika.

ApacheBeanUtilsDeepCopy
0 likes · 9 min read
When to Use Apache vs Spring BeanUtils for Java Object Copying
Selected Java Interview Questions
Selected Java Interview Questions
Jul 27, 2020 · Backend Development

Understanding Spring Controller Scope and Thread Safety

The article explains why Spring MVC controllers are singleton by default, demonstrates the resulting thread‑unsafe behavior with example code, shows how applying @Scope("prototype") makes them prototype scoped, and provides best‑practice recommendations and a summary of Spring bean scopes.

@BeanControllerSpring
0 likes · 5 min read
Understanding Spring Controller Scope and Thread Safety
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 27, 2020 · Backend Development

Detailed Guide to Using @EnableAsync and @Async for Asynchronous Bean Method Execution in Spring

This article provides a comprehensive explanation of Spring's @EnableAsync and @Async annotations, covering their purpose, usage steps, handling of return values, custom thread‑pool configuration, exception handling, thread‑pool isolation, and the underlying AOP mechanism, supplemented with complete code examples.

@AsyncJavaSpring
0 likes · 18 min read
Detailed Guide to Using @EnableAsync and @Async for Asynchronous Bean Method Execution in Spring
Programmer DD
Programmer DD
Jul 27, 2020 · Backend Development

Why MyBatis Outperforms Hibernate for Modern Java Back‑End Projects

The article examines a Spring‑related Twitter poll, Google Trends, and Stack Overflow statistics to compare MyBatis, Hibernate, and JPA, then argues that MyBatis’ simplicity and flexibility make it better suited for today’s fast‑paced backend development.

HibernateMyBatisORM
0 likes · 5 min read
Why MyBatis Outperforms Hibernate for Modern Java Back‑End Projects
Programmer DD
Programmer DD
Jul 26, 2020 · Backend Development

How Does Spring Parse @Component and @Service Annotations? A Deep Dive

This article explains the internal workflow of Spring's annotation processing, detailing how @Component and its specializations like @Service are discovered through XML namespace handlers, classpath scanning, metadata readers, and meta‑annotation handling, complete with code excerpts and step‑by‑step analysis.

Annotation ProcessingSpringcomponent scanning
0 likes · 12 min read
How Does Spring Parse @Component and @Service Annotations? A Deep Dive
Top Architect
Top Architect
Jul 21, 2020 · Backend Development

How Spring Solves Circular Dependencies and the Underlying Essence

This article explains how Spring resolves circular dependencies for singleton beans using a three‑level cache, demonstrates a simple prototype implementation, draws an analogy to the classic two‑sum algorithm, and highlights the core principle behind Spring's dependency injection mechanism.

BackendDependency InjectionJava
0 likes · 9 min read
How Spring Solves Circular Dependencies and the Underlying Essence
Selected Java Interview Questions
Selected Java Interview Questions
Jul 18, 2020 · Backend Development

Deep Dive into Spring IOC Container Initialization Process

This article provides a comprehensive, step‑by‑step analysis of how Spring's IoC container is initialized, covering resource loading, BeanDefinition creation, BeanFactory setup, template‑method refresh logic, and practical debugging tips, all illustrated with UML diagrams and code snippets.

BackendDependency InjectionDesign Patterns
0 likes · 20 min read
Deep Dive into Spring IOC Container Initialization Process
Architecture Digest
Architecture Digest
Jul 18, 2020 · Backend Development

Understanding How Spring Handles Circular Dependencies and Its Core Principle

This article explains Spring's three‑level cache mechanism for resolving circular dependencies in singleton beans, demonstrates a simplified implementation with Java code, draws an analogy to the classic two‑sum algorithm, and highlights the essential idea behind circular dependency handling.

Design PatternSpringcircular dependency
0 likes · 9 min read
Understanding How Spring Handles Circular Dependencies and Its Core Principle
Programmer DD
Programmer DD
Jun 29, 2020 · Backend Development

Why Spring Beans Aren’t Thread‑Safe and How ThreadLocal Solves It

This article explains that Spring does not guarantee thread safety for its beans, describes the various bean scopes, clarifies why stateless singleton beans are safe, and shows how ThreadLocal works—including its implementation, usage, and potential memory‑leak pitfalls—so developers can write correct concurrent code.

JavaMemory LeakSpring
0 likes · 17 min read
Why Spring Beans Aren’t Thread‑Safe and How ThreadLocal Solves It
FunTester
FunTester
Jun 20, 2020 · Backend Development

Mastering MySQL CASE WHEN and MyBatis Dynamic Queries for Test Case Search

This article walks through building complex test‑case search queries using MySQL CASE WHEN, FIND_IN_SET, and MyBatis dynamic SQL, demonstrates converting asynchronous data fetches to synchronous calls with CountDownLatch in Spring, and provides complete Java bean and configuration examples.

@AsyncBackendJava
0 likes · 9 min read
Mastering MySQL CASE WHEN and MyBatis Dynamic Queries for Test Case Search
Beike Product & Technology
Beike Product & Technology
Jun 18, 2020 · Databases

Resolving Duplicate Income Splitting in a Financial System: Transaction Isolation, Spring Propagation, and Redis Lock

This article analyzes a financial system's duplicate income‑splitting bug caused by concurrent transactions, explains how MySQL isolation levels and Spring transaction propagation contributed to dirty reads, and presents two corrective approaches—adjusting transaction propagation and repositioning Redis locks—to ensure reliable data consistency.

MySQLRedisSpring
0 likes · 10 min read
Resolving Duplicate Income Splitting in a Financial System: Transaction Isolation, Spring Propagation, and Redis Lock
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 7, 2020 · Fundamentals

Introduction to Java Reflection

This article explains Java's reflection mechanism, covering how to obtain Class objects, the java.lang.reflect API, practical code examples, common use cases such as dynamic proxies, JDBC driver loading, Spring bean initialization, and discusses the advantages and performance drawbacks of using reflection.

BackendJDBCJava
0 likes · 13 min read
Introduction to Java Reflection
Architect's Tech Stack
Architect's Tech Stack
Jun 1, 2020 · Backend Development

Fundamentals and Advanced Concepts of Spring Transaction Management

This article explains the core principles of Spring transaction management, including JDBC transaction steps, declarative @Transactional usage, AOP proxy mechanisms, propagation behaviors, isolation levels, nested transactions, and Spring Boot support, while also providing code examples and practical guidance for developers.

AOPSpringisolation
0 likes · 14 min read
Fundamentals and Advanced Concepts of Spring Transaction Management
Programmer DD
Programmer DD
May 21, 2020 · Backend Development

Mastering Spring 5 Functional Endpoints: A Hands‑On Guide

This article shows how to replace traditional Spring MVC annotations with Spring 5's functional routing API, covering dependencies, RouterFunction, ServerRequest/ServerResponse, HandlerFunction, RequestPredicate, and demonstrating practical code examples and expected responses.

BackendFunctional EndpointsJava
0 likes · 6 min read
Mastering Spring 5 Functional Endpoints: A Hands‑On Guide
Selected Java Interview Questions
Selected Java Interview Questions
May 17, 2020 · Backend Development

Applying Strategy, Factory Method, and Builder Patterns in Spring for Reward Distribution

This article explains how to implement the Strategy, Factory Method, and Builder design patterns within a Spring application to decouple reward‑distribution logic, showing interface definitions, concrete implementations, a factory for dynamic bean selection, and a prototype‑scoped builder for request construction.

BuilderDesign PatternsJava
0 likes · 12 min read
Applying Strategy, Factory Method, and Builder Patterns in Spring for Reward Distribution
Architect's Tech Stack
Architect's Tech Stack
May 9, 2020 · Backend Development

Unified Exception Handling and Assertion Techniques in Java Backend Development

This article explains how to replace repetitive try‑catch blocks in Java backend services with a unified exception handling framework using Spring's @ControllerAdvice, custom @ExceptionHandler methods, enum‑based error codes, and assertion utilities, improving code readability, maintainability, and error response consistency.

Design PatternsSpring
0 likes · 21 min read
Unified Exception Handling and Assertion Techniques in Java Backend Development
macrozheng
macrozheng
May 9, 2020 · Backend Development

How Does Spring Resolve Circular Dependencies? Inside the Three‑Level Cache

This article explains how Spring handles circular dependencies in singleton beans by using a three‑level cache, contrasts it with prototype beans that cannot participate, and demonstrates a minimal implementation that mimics Spring's approach, linking the concept to the classic two‑sum algorithm.

Backend DevelopmentDependency InjectionJava
0 likes · 10 min read
How Does Spring Resolve Circular Dependencies? Inside the Three‑Level Cache
Java Captain
Java Captain
May 4, 2020 · Backend Development

How Spring Solves Circular Dependencies and the Underlying Essence

This article explains how Spring resolves circular dependencies for singleton beans using a three‑level cache, demonstrates a simple prototype implementation that mimics Spring's behavior, and relates the problem to the classic two‑sum algorithm to reveal its fundamental nature.

@BeanDependency InjectionJava
0 likes · 9 min read
How Spring Solves Circular Dependencies and the Underlying Essence
Architect's Tech Stack
Architect's Tech Stack
May 3, 2020 · Backend Development

Unified Exception Handling in Spring Boot: Reducing Try‑Catch Boilerplate with @ControllerAdvice, Assert Utilities, and Enum‑Based Error Codes

This article explains how to implement unified exception handling in Spring Boot using @ControllerAdvice and custom Assert utilities, demonstrates reducing repetitive try‑catch blocks with enum‑based error codes, and shows practical testing of various error scenarios including 404, validation, and database failures.

EnumSpringUnified Response
0 likes · 22 min read
Unified Exception Handling in Spring Boot: Reducing Try‑Catch Boilerplate with @ControllerAdvice, Assert Utilities, and Enum‑Based Error Codes
Java Backend Technology
Java Backend Technology
May 3, 2020 · Backend Development

How Spring Solves Circular Dependencies: The 3‑Cache Trick Explained

This article explains how Spring resolves circular dependencies in singleton beans using a three‑level cache, why prototype beans cannot participate, provides a minimal example implementation, and draws an analogy to the classic two‑sum algorithm to illustrate the underlying principle.

BackendDependency InjectionJava
0 likes · 10 min read
How Spring Solves Circular Dependencies: The 3‑Cache Trick Explained
Selected Java Interview Questions
Selected Java Interview Questions
May 1, 2020 · Backend Development

Understanding the Bean Lifecycle in Spring ApplicationContext

This article explains the Spring bean lifecycle within an ApplicationContext, detailing container‑level, factory‑level, and bean‑level post‑processors, showing how to implement and register custom processors, and providing code examples and XML configuration to illustrate the execution order and practical usage.

ApplicationContextBackendBean Lifecycle
0 likes · 9 min read
Understanding the Bean Lifecycle in Spring ApplicationContext
Java Captain
Java Captain
May 1, 2020 · Backend Development

Unified Exception Handling in Spring Boot Using Assert and Enum-based Error Codes

This article demonstrates how to replace repetitive try‑catch blocks in Java Spring applications with a unified exception handling approach that leverages @ControllerAdvice, custom Assert utilities, and enum‑based error codes to produce clean, maintainable, and internationalized error responses across controllers and services.

EnumJavaSpring
0 likes · 20 min read
Unified Exception Handling in Spring Boot Using Assert and Enum-based Error Codes
Java Captain
Java Captain
Apr 25, 2020 · Backend Development

Deep Dive into Spring Boot Auto‑Configuration Mechanism

This article examines Spring Boot's auto‑configuration process by analyzing the source code of @SpringBootApplication, @EnableAutoConfiguration, and related classes, explaining how the framework loads configuration classes via SpringFactoriesLoader, processes deferred import selectors, and integrates with the application context during startup.

AutoConfigurationJavaSpring
0 likes · 26 min read
Deep Dive into Spring Boot Auto‑Configuration Mechanism
21CTO
21CTO
Apr 23, 2020 · Backend Development

Avoid These Hidden Java Pitfalls: Object Comparison, Generics, and CGLIB Proxy Gotchas

This article reveals common Java pitfalls—from using Objects.equals versus ==, ternary operator type conversion, generic type mismatches, Set deduplication, BeanUtils property copying, to CGLIB proxy quirks—and provides concrete analysis and practical avoidance techniques for each case.

CGLIBCollectionsJava
0 likes · 28 min read
Avoid These Hidden Java Pitfalls: Object Comparison, Generics, and CGLIB Proxy Gotchas
Java Backend Technology
Java Backend Technology
Apr 23, 2020 · Backend Development

Why Spring’s Constructor Injection Fails on Circular Dependencies (and How Setters Help)

This article explains what circular dependencies are in Spring, shows three ways the framework handles them—constructor injection, singleton setter injection, and prototype setter injection—illustrates each with Java classes and XML configuration, and clarifies why only the singleton setter approach avoids runtime errors.

Bean ScopeConstructor InjectionDependency Injection
0 likes · 9 min read
Why Spring’s Constructor Injection Fails on Circular Dependencies (and How Setters Help)
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 10, 2020 · Backend Development

How to Read and Debug the Spring Framework Source Code

This article explains the benefits of reading source code and provides a step‑by‑step guide for setting up a Gradle‑based environment, downloading, importing, compiling, and debugging Spring Framework source code with practical code examples and IDE configuration tips.

BackendGradleJava
0 likes · 10 min read
How to Read and Debug the Spring Framework Source Code
Wukong Talks Architecture
Wukong Talks Architecture
Apr 9, 2020 · Backend Development

Initializing the PassJava Project and Adding Microservices

This tutorial walks through creating an empty GitHub repository, importing it, adding a content service and additional microservices, configuring the Maven parent pom, setting up a root Maven configuration and .gitignore, and finally committing the code for the PassJava Java microservice suite.

GitJavaMaven
0 likes · 5 min read
Initializing the PassJava Project and Adding Microservices
JD Retail Technology
JD Retail Technology
Apr 8, 2020 · Backend Development

Building a Simplified Spring Framework: Step‑by‑Step IOC, DI, and MVC Implementation

This article walks through creating a lightweight Spring‑like framework in Java, detailing the project structure, startup process, MVC module initialization, core IOC container design, BeanDefinition handling, bean registration, dependency injection, and circular‑dependency resolution, all illustrated with diagrams and code snippets.

IOCMVCSpring
0 likes · 7 min read
Building a Simplified Spring Framework: Step‑by‑Step IOC, DI, and MVC Implementation
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.

AOPJDBCSpring
0 likes · 15 min read
How Spring’s @Transactional Works Under the Hood and Build Your Own Transaction Annotation
Top Architect
Top Architect
Apr 1, 2020 · Backend Development

How to Prepare for Java Junior and Senior Technical Interviews

Preparing thoroughly for Java junior and senior technical interviews requires covering core Java concepts, Spring and Spring Boot frameworks, database fundamentals, multithreading, JVM internals, and architectural knowledge, while practicing problem‑solving and understanding interviewers' expectations to increase success chances.

BackendJVMJava
0 likes · 10 min read
How to Prepare for Java Junior and Senior Technical Interviews
macrozheng
macrozheng
Mar 27, 2020 · Backend Development

Why @Transactional Fails: 6 Common Pitfalls and How to Fix Them

This article explains the purpose of Spring's @Transactional annotation, details its configurable attributes, and enumerates six typical scenarios—such as non‑public methods, wrong propagation settings, self‑invocation, and unsupported database engines—that cause the annotation to become ineffective, providing code examples and solutions.

@TransactionalAOPBackend
0 likes · 12 min read
Why @Transactional Fails: 6 Common Pitfalls and How to Fix Them
Senior Brother's Insights
Senior Brother's Insights
Mar 25, 2020 · Backend Development

Master Java Reflection: From Basics to Advanced Usage

This article provides a comprehensive guide to Java's reflection mechanism, covering its definition, core capabilities, practical code examples, common API usage, and considerations such as performance and security, enabling developers to understand and apply reflection effectively in real-world projects.

APIJavaReflection
0 likes · 10 min read
Master Java Reflection: From Basics to Advanced Usage
macrozheng
macrozheng
Mar 25, 2020 · Backend Development

Mastering Token Bucket Rate Limiting and Lock Strategies in Flash Sale Systems

This article explains how to implement token‑bucket rate limiting with Guava's RateLimiter, compare it to leaky‑bucket algorithms, and combine it with optimistic and pessimistic locking techniques to prevent overselling in high‑concurrency flash‑sale applications.

JavaOptimistic LockPessimistic Lock
0 likes · 15 min read
Mastering Token Bucket Rate Limiting and Lock Strategies in Flash Sale Systems
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Mar 22, 2020 · Backend Development

Common Reasons Why Spring @Transactional May Not Work

This article explains several typical pitfalls that cause Spring's @Transactional annotation to be ineffective, such as unsupported database engines, unmanaged service beans, internal method calls, non‑public methods, default rollback rules, and missing transaction manager configuration, and provides practical solutions for each case.

AOPBackendJava
0 likes · 4 min read
Common Reasons Why Spring @Transactional May Not Work
Big Data Technology & Architecture
Big Data Technology & Architecture
Mar 19, 2020 · Backend Development

Design and Implementation of a Transactional Message Module for Distributed Systems Using Spring and RabbitMQ

This article details a lightweight, low‑intrusion transactional message solution for microservices, covering design principles, database schema, Spring‑based implementation with RabbitMQ integration, compensation mechanisms, scheduling, and testing, illustrating how to achieve reliable asynchronous messaging while maintaining eventual consistency.

MicroservicesRabbitMQSpring
0 likes · 18 min read
Design and Implementation of a Transactional Message Module for Distributed Systems Using Spring and RabbitMQ
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 19, 2020 · Backend Development

How Spring Implements 9 Core Design Patterns – From Simple Factory to Template Method

This article explains how Spring applies nine classic design patterns—including Simple Factory, Factory Method, Singleton, Adapter, Decorator, Proxy, Observer, Strategy, and Template Method—detailing their implementation approaches, underlying principles, and the benefits they bring to Spring's IoC container and AOP mechanisms.

Backend DevelopmentDependency InjectionSpring
0 likes · 18 min read
How Spring Implements 9 Core Design Patterns – From Simple Factory to Template Method
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 16, 2020 · Backend Development

Mastering Java Backend Interview Questions: Concurrency, JVM, Spring, and Distributed Systems

This article compiles typical Java backend interview questions and detailed answers covering self‑introduction, personal growth, concurrency primitives, JVM memory management, GC tuning, cache design, large‑scale data storage, Spring IoC, AOP, distributed session handling, and common design patterns.

Backend DevelopmentJVMSpring
0 likes · 18 min read
Mastering Java Backend Interview Questions: Concurrency, JVM, Spring, and Distributed Systems
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 9, 2020 · Backend Development

How Spring Enables Asynchronous Execution with @EnableAsync – Deep Dive

This article explains how Spring's @EnableAsync annotation activates asynchronous method execution, detailing the roles of AsyncConfigurationSelector, ProxyAsyncConfiguration, AbstractAsyncConfiguration, and AsyncAnnotationBeanPostProcessor, and showing the underlying code that creates proxies, advisors, and executors for async processing.

AOPBackend DevelopmentEnableAsync
0 likes · 18 min read
How Spring Enables Asynchronous Execution with @EnableAsync – Deep Dive
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 8, 2020 · Backend Development

How to Enable and Customize Asynchronous Execution in Spring

Learn how to enable Spring's @Async support, configure custom executors, use @Async with void and Future return types, and implement custom exception handling for uncaught async errors, providing a complete guide to asynchronous method execution in Spring applications.

@AsyncExceptionHandlingExecutor
0 likes · 4 min read
How to Enable and Customize Asynchronous Execution in Spring
Java Captain
Java Captain
Mar 4, 2020 · Backend Development

Overview of Common Spring and JPA Annotations

This article provides a comprehensive overview of frequently used Spring Boot, Spring MVC, and JPA annotations, explaining their purposes, typical usage patterns, and includes example code snippets to illustrate how they are applied in Java backend development.

JPAJavaSpring
0 likes · 11 min read
Overview of Common Spring and JPA Annotations
Java Backend Technology
Java Backend Technology
Mar 3, 2020 · Backend Development

Unlock Spring’s Power: 9 Essential Design Patterns for Backend Engineers

This article explains how Spring implements nine core design patterns—including Simple Factory, Factory Method, Singleton, Adapter, Decorator, Proxy, Observer, Strategy, and Template Method—detailing their implementation, underlying principles, and practical significance for Java backend development.

BackendDependency InjectionJava
0 likes · 16 min read
Unlock Spring’s Power: 9 Essential Design Patterns for Backend Engineers
Java Captain
Java Captain
Mar 1, 2020 · Backend Development

Summary of Design Patterns Used in the Spring Framework

This article explains how the Spring framework implements various classic design patterns—including Simple Factory, Factory Method, Singleton, Adapter, Decorator, Proxy, Observer, Strategy, and Template Method—detailing their implementation mechanisms, underlying principles, and practical significance within Spring's bean lifecycle and extension points.

AOPBeanFactoryDependency Injection
0 likes · 14 min read
Summary of Design Patterns Used in the Spring Framework
Java Captain
Java Captain
Feb 29, 2020 · Backend Development

Using Apache POI for Excel Import and Export in Java

This article demonstrates how to use Apache POI in a Maven‑based Java project to read and write both XLS and XLSX Excel files, covering library setup, core APIs, data type handling, and practical import/export implementations with Spring MVC and MyBatis.

Apache POIExcelImportExport
0 likes · 19 min read
Using Apache POI for Excel Import and Export in Java
Selected Java Interview Questions
Selected Java Interview Questions
Feb 24, 2020 · Backend Development

Understanding BeanFactory, ApplicationContext, and FactoryBean in Spring

This article explains the roles of BeanFactory and ApplicationContext in Spring, compares BeanFactory with FactoryBean, and provides detailed code examples showing how to configure and retrieve beans, including custom FactoryBean implementations and the use of '&' to access the FactoryBean itself.

BackendBeanFactoryDependency Injection
0 likes · 16 min read
Understanding BeanFactory, ApplicationContext, and FactoryBean in Spring
JD Retail Technology
JD Retail Technology
Feb 19, 2020 · Backend Development

MockRpc Platform: Zero‑Intrusion Mocking for Front‑Middle‑End Decoupling in JD Retail

The article introduces the MockRpc platform, which uses Spring‑based extensions and a mock server to fully decouple front‑end services from middle‑end services in a micro‑service architecture, enabling zero‑intrusion testing, configurable mock data, and improved development efficiency for JD Retail.

DevOpsMicroservicesMocking
0 likes · 11 min read
MockRpc Platform: Zero‑Intrusion Mocking for Front‑Middle‑End Decoupling in JD Retail
FunTester
FunTester
Feb 11, 2020 · Backend Development

Converting Asynchronous Calls to Synchronous Execution with Spring @Async for Server‑Side Interface Performance Optimization

This article explains how to improve the performance of multi‑query server interfaces by converting asynchronous calls to synchronous execution using Spring's @Async annotation and CountDownLatch, outlining suitable scenarios, providing Java pseudocode, and sharing practical implementation tips.

@AsyncCountDownLatchJava
0 likes · 7 min read
Converting Asynchronous Calls to Synchronous Execution with Spring @Async for Server‑Side Interface Performance Optimization
Java Captain
Java Captain
Jan 31, 2020 · Backend Development

Comprehensive Guide to Developing a Traditional Java Web Project

This article outlines the essential steps for creating a traditional Java web application, covering environment preparation, Maven skeleton creation, required dependencies for logging, databases, persistence, Spring integration, DAO and service layers, unit testing, and RESTful controller configuration.

JUnitJavaMaven
0 likes · 10 min read
Comprehensive Guide to Developing a Traditional Java Web Project
ITPUB
ITPUB
Jan 23, 2020 · Backend Development

Top 10 Must-Have Eclipse Plugins to Supercharge Java Development

This article presents a curated list of the ten most essential Eclipse plugins for Java developers, explaining how each tool—ranging from Git integration and Spring support to Maven, SVN, code coverage, and live reload—boosts productivity and streamlines common development workflows.

EclipseIDE pluginsJava
0 likes · 9 min read
Top 10 Must-Have Eclipse Plugins to Supercharge Java Development
Architecture Digest
Architecture Digest
Jan 21, 2020 · Backend Development

Implementing Idempotent Requests with Local Locks, AOP, and Redis in Java

This article explains the concept of idempotency in web services, analyzes common causes of duplicate submissions, and presents multiple backend solutions—including frontend button disabling, PRG pattern, session flags, local locks using ConcurrentHashMap, AOP interceptors, and distributed Redis locks—accompanied by complete Java code examples.

Springidempotency
0 likes · 13 min read
Implementing Idempotent Requests with Local Locks, AOP, and Redis in Java
Architect's Tech Stack
Architect's Tech Stack
Jan 12, 2020 · Backend Development

Comprehensive Guide to Spring‑Kafka Integration and Advanced Features

This article provides a systematic tutorial on using Spring‑Kafka, covering basic setup, embedded Kafka for testing, topic creation methods, message sending with KafkaTemplate, transactional messaging, request‑reply patterns, advanced @KafkaListener configurations, manual acknowledgment, listener lifecycle control, SendTo forwarding, and retry with dead‑letter queues, all illustrated with complete code examples.

@TransactionalEmbeddedKafkaKafka
0 likes · 19 min read
Comprehensive Guide to Spring‑Kafka Integration and Advanced Features
Java Backend Technology
Java Backend Technology
Jan 5, 2020 · Backend Development

Which Java Framework Fits Your Project? A 2020 Top‑10 Guide

This article surveys Java’s evolution and market dominance, then evaluates the ten leading Java frameworks—Spring, Hibernate, Struts, Play, GWT, Grails, Blade, JSF, and Vaadin—highlighting their key features, use cases, and why choosing the right one is crucial for successful web development.

FrameworksHibernateJava
0 likes · 9 min read
Which Java Framework Fits Your Project? A 2020 Top‑10 Guide
21CTO
21CTO
Dec 30, 2019 · Backend Development

Discover the 9 Best Java Frameworks of 2020 for High‑Performance Web Development

This article reviews the nine most popular Java frameworks in 2020—Spring, Hibernate, Struts, Play, Google Web Toolkit, Grails, Blade, JavaServer Faces, and Vaadin—detailing their features, industry adoption, and why they remain top choices for building scalable, high‑performance enterprise and web applications.

FrameworksJavaSpring
0 likes · 9 min read
Discover the 9 Best Java Frameworks of 2020 for High‑Performance Web Development
Java Captain
Java Captain
Dec 29, 2019 · Backend Development

Comprehensive Overview of the Spring Framework and Its Ecosystem

This article provides a comprehensive introduction to the Spring ecosystem, covering its core concepts such as IoC and AOP, detailing each of the seven framework modules, and explaining related projects like Spring MVC, Spring Security, Spring Data, Spring Boot, and Spring Cloud for modern Java backend development.

AOPBackend DevelopmentDependency Injection
0 likes · 18 min read
Comprehensive Overview of the Spring Framework and Its Ecosystem
Java Captain
Java Captain
Dec 17, 2019 · Backend Development

Top 10 Most Popular Java Open‑Source Projects on GitHub in November

This article lists and briefly describes the ten most starred Java open‑source projects on GitHub for November, covering tools such as NLP libraries, learning guides, big‑data frameworks, rapid‑development platforms, algorithm collections, job schedulers, code‑style checkers, traffic‑control systems, the Spring framework, and service‑discovery solutions.

FlinkFrameworksGitHub
0 likes · 5 min read
Top 10 Most Popular Java Open‑Source Projects on GitHub in November
Programmer DD
Programmer DD
Dec 6, 2019 · Backend Development

Mastering Cross-Origin Requests in Spring: JSONP and CORS Solutions

This article explains the concept of cross-origin, why it occurs in modern web architectures, and provides practical Spring‑based solutions using JSONP and CORS together with jQuery AJAX examples, complete with configuration snippets and code samples.

BackendCORSCross-Origin
0 likes · 6 min read
Mastering Cross-Origin Requests in Spring: JSONP and CORS Solutions
FunTester
FunTester
Dec 5, 2019 · Backend Development

Using WireMock for Integration Testing of Spring RestTemplate Services

This article explains how to write integration tests for Spring services that call external APIs by using WireMock to mock HTTP responses, handle dynamic ports, simulate error and timeout scenarios, and adjust exception handling in RestTemplate calls.

JavaRestTemplateSpring
0 likes · 10 min read
Using WireMock for Integration Testing of Spring RestTemplate Services
Java Captain
Java Captain
Nov 29, 2019 · Backend Development

Designing Unified API Response Wrappers for Java Backend Services

This article explains how to design a standardized JSON response format, define status codes and messages, and implement a global @ResponseResult annotation with interceptors and ResponseBodyAdvice in Java to simplify controller return values and improve error handling.

APIJavaResponse Wrapper
0 likes · 7 min read
Designing Unified API Response Wrappers for Java Backend Services