Skip to content
José da Cruz

Enterprise Architect, and Life Thinker

José da Cruz

Enterprise Architect, and Life Thinker

Learning Spring Boot from Zero to Cloud: Part 38 – Transactions 101

josedacruz, June 8, 2025June 8, 2025

🎬 Description:

In this video, we dive into a crucial Spring Boot concept: how to handle database transactions using two distinct styles — Declarative (@Transactional) and Programmatic (TransactionTemplate).

You’ll see a side-by-side visual comparison with diagrams that make each step crystal clear. Whether you’re a Java developer, software architect, or just brushing up for interviews, this is for you!


📚 What You’ll Learn:

✅ What is a database transaction?
🔁 How declarative transactions work with @Transactional
🛠️ How programmatic transactions work using TransactionTemplate
📊 Step-by-step flow for commit and rollback
🧠 When to choose one over the other
🖼️ PlantUML diagrams for better understanding


⏱️ Timestamps:

00:00 – Introduction
02:16 – ACID Properties
06:22 – Why are Transactions Important?
06:48 – Transaction Management Options
07:20 – Declarative Transactions (@Transactional)
16:23 – Programmatic Transactions (TransactionTemplate)
18:06 – Side-by-side Diagram Comparison
18:58 – Final Tips and Summary
22:00 – Code Walkthrough

Related

spring-boot

Post navigation

Previous post
Next post

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • architecture (154)
  • artificial-intelligence (6)
  • books (2)
  • courses (4)
  • decision-frameworks (4)
  • finances (1)
  • java (8)
  • life-improvement (20)
  • metrics (3)
  • observability (2)
  • puzzles and challenges (3)
  • reviews (1)
  • security (8)
  • spring-boot (36)
  • Systems Thinking (3)
  • GitHub Weekly: MCP Tools Trending Right Now (September 28 – October 4, 2026)
  • The Bulkhead Pattern: Why One Slow Dependency Shouldn’t Sink the Whole Ship
  • Essential Reading: A Philosophy of Software Design — Fighting Complexity One Module at a Time
  • GitHub Weekly: Top 10 Trending Repos (September 21 – September 27, 2026)
  • The Volunteer Tax: Why Raising Your Hand in a Meeting Makes You the Permanent Owner
©2026 José da Cruz | WordPress Theme by SuperbThemes