
Beginning Spring Data
Data Access and Persistence for Spring Framework 6 and Boot 3
Andres Sacco(Author)
APress
Published on 29. December 2022
Book
Paperback/Softback
XXII, 417 pages
978-1-4842-8763-7 (ISBN)
Description
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
Who This Book Is For
Experienced Java software application developers; programmers with experience using the Spring framework or the Spring Boot micro framework
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 persistencetypes
- 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
More details
Edition
First Edition
Language
English
Place of publication
Berkeley
United States
Target group
Professional and scholarly
Illustrations
136 s/w Abbildungen
XXII, 417 p. 136 illus.
Dimensions
Height: 254 mm
Width: 178 mm
Thickness: 24 mm
Weight
822 gr
ISBN-13
978-1-4842-8763-7 (9781484287637)
DOI
10.1007/978-1-4842-8764-4
Schweitzer Classification
Other editions
Additional editions

E-Book
12/2022
APress
€56.99
Available for download
Person
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.
Content
Part I - Introduction.- 1. Architecture of the Applications.- 2. Spring Basics and Beyond.- 3. Spring Data and Persistence Types.- Part II - SQL Persistence.- 4. Persistence and Domain Model.- 5. Transaction Management.- 6. Versioning or Migrate the Changes of the Database.- Part III - NO-SQL Persistence.- 7. Redis key/value Database.- 8. MongoDB Document Database.- 9. Neo4j Graph Database.- 10. Cassandra wide-column Database.- 11. Reactive access w/R2DBC and MongoDB.- 12. Unit/Integration Testing.- 13. Performance Testing.- 14. Best Practices.- Appendix A.- Appendix B.- Appendix C.- Appendix D.- Appendix E.- Appendix F.