相關主題
商品描述
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
商品描述(中文翻譯)
使用流行的Spring Data項目來進行數據訪問和持久化,使用各種基於Java的API,如JDBC、JPA、MongoDB等。本書展示了如何輕鬆地將數據持久性和可訪問性融入到您的微服務、雲原生應用程序和巨型企業應用程序中。它還教您如何對訪問數據庫的組件進行單元測試和性能測試。並且它會引導您通過每種類型的SQL和NoSQL數據庫的示例。
閱讀本書後,您將能夠創建與一個或多個類型的數據庫交互的應用程序,並進行單元測試和性能測試以分析可能的問題。源代碼可在GitHub上獲得。
您將學到什麼
- 熟悉Spring Data項目及其用於數據訪問和持久化的模塊
- 探索各種SQL和NoSQL持久化類型
- 揭示持久性和領域模型,並處理SQL的事務管理
- 對SQL進行數據庫更改和版本控制
- 深入研究Redis、MongoDB、Neo4j和Cassandra的NoSQL持久化
- 使用R2DBC和MongoDB處理反應式數據庫編程和訪問
- 進行單元測試、集成測試和性能測試等
本書適合對象
有經驗的Java軟件應用程序開發人員;有使用Spring框架或Spring Boot微框架經驗的程序員。
作者簡介
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.
作者簡介(中文翻譯)
Andres Sacco 是 Prisma 的技術主管。他擁有使用 Java、PHP 和 NodeJs 等程式語言的經驗。他還熟悉使用 Spring。在之前的工作中,Andres 幫助找到了優化微服務間數據傳輸的替代方法,從而降低了 55% 的基礎設施成本。他還撰寫了關於新技術的內部課程和 Medium 上的文章。Andres 分享了他在不同情況下使用不同類型的數據庫的知識。他在各種測試方面也有經驗,以尋找查詢或訪問數據庫的存儲庫中的問題。