Spring Data 3
2h 28mIntermediate2025-02-03
Authors

Mary Ellen Bowman
25+ years of full life-cycle software development experience
Course details
Are you ready to get up and running with Spring Data 3? In this hands-on coding course, instructor Mary Ellen Bowman guides you through the essential steps of implementing Spring Data JPA features for persisting and querying relational databases. Along the way, get an overview of Spring Data REST, Spring Data MongoDB, and how to leverage reactive repositories that support non-blocking data source drivers—all from directly within your browser.
Learning objectives
Analyze how Spring Data reduces boilerplate code in database interactions compared to traditional methods.
Apply Spring Data concepts to create efficient query methods for both Reactive and Servlet Stack applications.
Evaluate the benefits of using Spring Data in back-end Java development projects.
Implement standard querying patterns using Spring Data's various modules for different data sources.
Learning objectives
Analyze how Spring Data reduces boilerplate code in database interactions compared to traditional methods.
Apply Spring Data concepts to create efficient query methods for both Reactive and Servlet Stack applications.
Evaluate the benefits of using Spring Data in back-end Java development projects.
Implement standard querying patterns using Spring Data's various modules for different data sources.
Skills covered
SpringBack-End Web DevelopmentWeb Development ToolsWeb DevelopmentOpen SourceOne-Off
Concepts
0. Introduction
- 01 - Diving into Spring Data
- 02 - Beautiful code
- 03 - What you should know
- 04 - Using GitHub Codespaces
1. Spring Data Umbrella Project
- 05 - Mission and modules
- 06 - Java Jakarta Persistence API
2. Introduction to Spring Data JPA
- 07 - Spring Boot Starter data JPA
- 08 - Externalize schema declaration
- 09 - Spring Data CRUDRepository and JpaRepository
- 10 - Challenge - Fix SimpleDBCrudTest syntax errors
- 11 - Solution - Fix SimpleDBCrudTest syntax errors
- 12 - Spring Data JPA magic
3. Spring Data JPA Query Methods
- 13 - Property expression query methods
- 14 - Query method clauses with property expressions
- 15 - @Query annotation
- 16 - Challenge - Refactor three query methods
- 17 - Solution - Refactor three query methods
- 18 - Paging and sorting
4. Dynamic Spring Data JPA Queries
- 19 - Spring Data Specifications
- 20 - QueryDSL
- 21 - Query by Example
- 22 - Challenge - Query by Example
- 23 - Solution - Query by Example
- 24 - Is it beautiful
5. RESTful Microservice with a Real Database
- 25 - Spring Data REST
- 26 - Connect to remote database
- 27 - Embedded database for testing
6. More Spring Data Features
- 28 - Spring Boot Docker Compose for MongoDB
- 29 - Spring Data MongoDB
- 30 - Spring Data reactive repositories
- 31 - More data source support and features
Conclusion
- 32 - Make more beautiful code
Related courses
- Spring Data
- Spring Boot 3 Essential Training
- Creating Your First Spring Boot Microservice
- Building a Reactive App with Angular and Spring Boot 2
- Extending, Securing, and Dockerizing Spring Boot Microservices
- Building Full-Stack Apps with React and Spring
- Spring: Spring MVC
- Creating Spring Boot Microservices