Beginning Spring Data: Data Access and Persistence for Spring Framework 6 and Boot 3
- 3h 52m
- Andres Sacco
- Apress
- 2022
Use the popular Spring Data project for data access and persistence using various Java-based APIs such as JDBC, JPA, MongoDB, and more.
This book shows how to easily incorporate data persistence and accessibility into your microservices, cloud-native applications, and monolithic enterprise applications. It also teaches you how to perform unit and performance testing of a component that accesses a database. And it walks you through an example of each type of SQL and NoSQL database covered.
After reading this book, you’ll be able to create an application that interacts with one or multiple types of databases, and conduct unit and performance testing to analyze possible problems. Source code is available on GitHub.
What You’ll Learn
- Become familiar with the Spring Data project and its modules for data access and persistence
- Explore various SQL and NoSQL persistence types
- Uncover the persistence and domain models, and handle transaction management for SQL
- Migrate database changes and versioning for SQL
- Dive into NoSQL persistence with Redis, MongoDB, Neo4j, and Cassandra
- Handle reactive database programming and access with R2DBC and MongoDB
- Conduct unit, integration, and performance testing, and more
Who This Book Is For
Experienced Java software application developers; programmers with experience using the Spring framework or the Spring Boot micro framework
About the Author
Andres Sacco is a Technical Lead at Prisma. He has experience using languages such as Java, PHP, and NodeJs. He also has experience using Spring. In his previous job, Andres helped find alternative ways to optimize the transference of data between microservices, which reduced the cost of infrastructure by 55%. He also has written internal courses about new technologies and articles on Medium. Andres shares his knowledge of using different types of databases, depending on the situation. He has experience with various types of testing, to search for problems in queries or repositories that access the database.
In this Book
-
Introduction
-
Application Architecture
-
Spring Basics and Beyond
-
Spring Data and Different Types of Persistence
-
Persistence and Domain Model
-
Transaction Management
-
Versioning or Migrating Changes
-
Redis—Key/Value Database
-
MongoDB—Document Database
-
Neo4j—Graph Database
-
Cassandra—Wide-Column Database
-
Reactive Access
-
Unit and Integration Testing
-
Detecting Performance Issues
-
Best Practices