Книги и журналы » Компьютерная литература » Программирование (книги)
Beginning Spring DataГод издания: 2023
Автор: Sacco A.
Издательство: Apress
ISBN: 978-1-4842-8764-4
Язык: Английский
Формат: PDF/ePub
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 420
Описание: 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
[spoiler="Примеры страниц"]

[/spoiler]
[spoiler="Оглавление"]
About the Author xi
About the Technical Reviewer xiii
Acknowledgments xv
Introduction xvii
Part I: Introduction 1
Chapter 1: Application Architecture 3
Chapter 2: Spring Basics and Beyond 37
Chapter 3: Spring Data and Different Types of Persistence 61
Part II: SQL Persistence 85
Chapter 4: Persistence and Domain Model 87
Chapter 5: Transaction Management 143
Chapter 6: Versioning or Migrating Changes 163
Chapter 7: Redis: Key/Value Database 189
Chapter 8: MongoDB: Document Database 213
Chapter 9: Neo4j: Graph Database 231
Chapter 10: Cassandra: Wide-Column Database 249
Part IV: Advanced testing and best practices 265
Chapter 11: Reactive Access 267
Chapter 12: Unit and Integration Testing 277
Chapter 13: Detecting Performance Issues 299
Chapter 14: Best Practices 325
Appendix A: Setting up Environment Tools 341
Appendix B: Recommended and Alternative Tools 349
Appendix C: Opening a Project 363
Appendix D: Install and Configure a Relational Database 367
Appendix E: Installing and Configuring Non-Relational Databases 383
Appendix F: Further Reading 407
Index 411
[/spoiler]