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 (167)
  • 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)
  • Soft Skills (1)
  • spring-boot (36)
  • Systems Thinking (3)
  • GitHub Weekly: AI Agent Tools Trending Right Now (November 2 – November 8, 2026)
  • Designing a Distributed Session Store: Why Sticky Sessions Break Under Load
  • Essential Reading: Release It! — Why Production Is a Different Game Than Development
  • GitHub Weekly: Top 10 Trending Repos (October 26 – November 1, 2026)
  • GitHub Weekly: Architecture & Infra Tools Worth a Look (October 19 – October 25, 2026)
©2026 José da Cruz | WordPress Theme by SuperbThemes