Tag

Declarative Transactions

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 26, 2024 · Backend Development

Programmatic vs Declarative Transactions in Spring Boot 3: When Performance Matters

This article compares Spring Boot's declarative @Transactional annotation with programmatic transaction management using TransactionTemplate, TransactionalOperator, and TransactionManager, explains their suitable scenarios, provides code examples, and presents JMeter performance tests that show how the right choice can dramatically improve throughput.

Declarative TransactionsJavaProgrammatic Transactions
0 likes · 10 min read
Programmatic vs Declarative Transactions in Spring Boot 3: When Performance Matters
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 27, 2023 · Backend Development

Master Spring Transaction Abstraction: Platform & Reactive Managers

This article explains Spring's transaction abstraction, detailing the roles of PlatformTransactionManager and ReactiveTransactionManager, the TransactionDefinition attributes, TransactionStatus interface, resource synchronization techniques, declarative transaction management with AOP, rollback rules, and provides XML and Java configuration examples for both JDBC and Hibernate environments.

Declarative TransactionsJavaReactive Programming
0 likes · 16 min read
Master Spring Transaction Abstraction: Platform & Reactive Managers
Java Captain
Java Captain
Apr 6, 2019 · Backend Development

Understanding Spring Transaction Management and AOP Mechanism

This article explains how Spring enables transaction management through @EnableTransactionManagement, details the internal configuration selectors, bean registrations, AOP pointcuts, and the TransactionInterceptor implementation, illustrating the flow of transaction attribute detection, method interception, and exception‑based commit or rollback.

AOPDeclarative TransactionsJava
0 likes · 9 min read
Understanding Spring Transaction Management and AOP Mechanism