Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Spring Data AOT Repositories - Better Performance and Developer Experience

Dan Vega via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to implement Spring Data AOT (Ahead-of-Time) Repositories in Spring Boot 4 to achieve 50-70% faster startup times and dramatically improved debugging capabilities. Discover how AOT compilation transforms repository interfaces into optimized, debuggable implementations at build time, providing benefits beyond native image compilation including lower memory usage and compile-time error detection. Explore the setup process using Spring Initializr and Maven configuration, create repository implementations with database schema setup, and utilize IntelliJ IDEA 2025.3's enhanced debugging features with gutter icons for direct navigation to generated code. Master the inspection of generated repository implementations and SQL queries, understand how to catch query errors and typos at build time rather than runtime, and gain transparency into Spring's code generation process. Examine practical examples including Coffee and Order repositories while learning why AOT repositories are particularly valuable for serverless applications and microservices architectures where startup performance is critical.

Syllabus

0:00 - Introduction to AOT Repositories
1:15 - Understanding AOT Optimizations in Spring
3:30 - Why This Matters: Performance & Developer Experience
5:45 - Project Setup with Spring Initializr
8:20 - Database Configuration & Schema Setup
12:00 - Creating the Coffee Repository
15:30 - Enabling AOT Processing in Maven
18:45 - Exploring Generated Implementations
22:00 - IntelliJ IDEA Integration & Debugging
25:30 - Order Repository Example
28:00 - Wrap-up & Key Takeaways

Taught by

Dan Vega

Reviews

Start your review of Spring Data AOT Repositories - Better Performance and Developer Experience

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.