Tag: spring

26 articles

Spring AMQP Integration with RabbitMQ: XML Configuration

Complete Spring AMQP integration with RabbitMQ tutorial, XML configuration to declare queues/exchanges/bindings, RabbitTemplate message sending/receiving and common troubleshooting. This article an...

Spring AMQP RabbitMQ JavaConfig Annotation Configuration

Spring AMQP JavaConfig annotation configuration to integrate RabbitMQ, ConnectionFactory, RabbitTemplate, Queue Bean configuration and message sending/receiving examples.

EVCache Client Integration: Memcached Setup and Configura...

Java applications wanting to experience Netflix EVCache locally or in small teams, but server not open source, can only self-build based on Memcached. Compile Memcached 1.6.39 from source, start ac...

AI Research #132: Java Ecosystem 2025 - Spring, Quarkus, ...

Spring Framework 6, Spring Boot 3.x (minimum JDK 17, supports Java 21 Virtual Threads), GraalVM Native Image AOT, Quarkus and Micronaut cloud-native...

Spring In-Depth: Declarative Transaction Support Transact...

In-depth guide to Spring declarative transaction support covering transaction configuration with XML mode and XML+annotation mode with practical examples.

Spring In-Depth: AOP Aspect Enhancement Core Concepts Adv...

In-depth introduction to Spring AOP aspect enhancement covering core concepts, advice types, XML+annotation approaches with code examples for comprehensive understanding.

Spring In-Depth: Declarative Transaction Support Transact...

In-depth introduction to Spring declarative transaction support covering transaction control, concepts, four characteristics, and isolation levels with practical examples.

Spring In-Depth: AOP Aspect Enhancement Core Concepts Pro...

In-depth introduction to Spring AOP aspect enhancement covering core concepts, related terminology, and proxy configuration with practical examples.

Spring In-Depth: IoC Container Circular Dependency Protot...

In-depth analysis of Spring IoC container system covering circular dependency, prototype beans, prototype scope, and lazy ObjectFactory with solutions.

Spring In-Depth: IoC Container System BeanFactory Analysi...

In-depth analysis of Spring IoC container system covering BeanFactory process analysis and Bean lazy loading mechanism with practical examples.

IoC Container Source Code Analysis: Bean Instantiation an...

In-depth analysis of Spring IoC container initialization flow through breakpoint debugging, detailed explanation of Bean creation timing and AbstractApplicationContext.refresh core logic.

IoC Container System: Bean Lifecycle and PostProcessor De...

Detailed explanation of Spring IoC container architecture, complete Bean lifecycle, and execution timing of BeanPostProcessor and BeanFactoryPostProcessor.

FactoryBean and BeanFactory Details and BeanPostProcessor

In-depth explanation of the differences between FactoryBean and BeanFactory in Spring, lazy loading mechanism of beans, and usage of BeanPostProcessor and BeanFactoryPostProcessor post-processors.

IoC Basics: Pure Annotation Mode and SpringConfig Configu...

Detailed introduction to Spring pure annotation configuration including usage of @Configuration, @ComponentScan, @Bean, @PropertySource annotations and Web environment configuration.

IoC Basics: XML and Annotation Combined Configuration

Explaining Spring's XML and annotation combined configuration mode, including the correspondence between annotations and XML tags, and usage of dependency injection annotations like @Autowired, @Qu...

IoC Basics: Pure XML Startup and Bean, DI Injection Details

Detailed explanation of Spring IoC configuration in pure XML mode including three ways to create Beans, lifecycle, scope, and XML configuration for constructor injection and setter injection.

IoC Basics: Summary of Ways to Start an IoC Container

Detailed introduction to Spring IoC container startup methods including ClassPathXmlApplicationContext, FileSystemXmlApplicationContext in Java environment, and XML and configuration class methods ...

Implementing Simple IoC-04: Manual AOP and Transaction Co...

Manually implement AOP aspect-oriented programming on top of business logic, using JDK dynamic proxies and CGLIB to implement transaction manager for automatic commit and rollback.

Implementing Simple IoC-03: Manually Implementing an IoC ...

Step-by-step guide to manually implement an IoC container using BeanFactory and XML configuration to manage Bean dependencies and complete core dependency injection implementation.

Implementing Simple IoC-02: Implementing Business Without...

Manually implement business logic layering without using Spring, including DAO layer, Service layer, and Controller layer, demonstrating dependency management issues in traditional development.

Implementing Simple IoC-01: Servlet Introduction and Basi...

Step-by-step guide to implementing a simple Spring IoC container, Part 1 covering Servlet basics, characteristics, working principles, and writing your first Servlet program.

Spring Overview: History and Core Concepts IoC, AOP

Comprehensive introduction to Spring framework basics, evolution from EJB to Spring, detailed explanation of Spring's core concepts including IoC and AOP with practical implementation analysis.

Spring Transaction Pitfalls Part 2: Common Issues & Solut...

Common Spring transaction pitfalls include non-public access modifiers, unsupported storage engines, incorrect readOnly configuration, transaction timeout too short, and incorrect propagation mecha...

Spring Transaction Pitfalls Part 1: Common Issues & Solut...

Spring transaction pitfalls commonly occur in scenarios like classes not managed by Spring, transaction manager not started, improper method modifiers (final, static, private), and same-class inter...

Spring Transaction Pitfalls Part 3: Common Issues & Solut...

Spring transaction pitfalls include rollbackFor configuration errors, transaction annotation overrides, nested transaction issues and more.

Spring Transaction Pitfalls Part 4: Multi-threading & Exc...

Spring transaction pitfalls include multi-threaded calls, exception catching without rollback, manual exception throwing errors. In multi-threading scenarios, child threads cannot inherit parent th...