Spring Boot Persistence Best Practices : Optimize Java Persistence Performance in Spring Boot Applications

This book is a collection of developer code recipes and best practices for persisting data using Spring, particularly Spring Boot. The book is structured around practical recipes, where each recipe discusses a performance case or performance-related case, and almost every recipe has one or more appl...

Full description

Main Author: Leonard, Anghel
Corporate Author: SpringerLink (Online service)
Format: eBook
Language:English
Published: Berkeley, CA Apress 2020, 2020
Edition:1st ed. 2020
Subjects:
Online Access:
Collection: Springer eBooks 2005- - Collection details see MPG.ReNa
LEADER 03712nmm a2200325 u 4500
001 EB001896540
003 EBX01000000000000001059546
005 00000000000000.0
007 cr|||||||||||||||||||||
008 200506 ||| eng
020 |a 9781484256268 
100 1 |a Leonard, Anghel 
245 0 0 |a Spring Boot Persistence Best Practices  |h Elektronische Ressource  |b Optimize Java Persistence Performance in Spring Boot Applications  |c by Anghel Leonard 
250 |a 1st ed. 2020 
260 |a Berkeley, CA  |b Apress  |c 2020, 2020 
300 |a XXX, 1027 p. 148 illus., 143 illus. in color  |b online resource 
505 0 |a Associations -- Chapter 2: Entities -- Chapter 3: Fetching -- Chapter 4: Batching -- Chapter 5: Collections -- Chapter 6: Connections and Transactions -- Chapter 7: Identifiers -- Chapter 8: Calculating Properties -- Chapter 9: Monitoring -- Chapter 10: Configuring DataSource and Connection Pool -- Chapter 11: Audit -- Chapter 12: Schemas -- Chapter 13: Pagination -- Chapter 14: Queries -- Chapter 15: Inheritance -- Chapter 16: Types and Hibernate Types -- Appendix A: JPA Fundamentals -- Appendix B: Associations Efficiency -- Appendix C: 5 SQL Performance Tips That Will Save Your Day -- Appendix D: How to Create Useful Database Indexes -- Appendix E: SQL Phenomena -- Appendix F: Spring Transaction Isolation Level -- Appendix G: Spring Transaction Propagation -- Appendix H: Understanding Flushing Mechanism -- Appendix I: Second Level Cache -- Appendix J: Tools -- Appendix K: Hibernate 6 
653 |a Computer programming 
653 |a Programming Languages, Compilers, Interpreters 
653 |a Programming Techniques 
653 |a Java 
653 |a Programming languages (Electronic computers) 
653 |a Java (Computer program language) 
710 2 |a SpringerLink (Online service) 
041 0 7 |a eng  |2 ISO 639-2 
989 |b Springer  |a Springer eBooks 2005- 
856 |u https://doi.org/10.1007/978-1-4842-5626-8?nosfx=y  |x Verlag  |3 Volltext 
082 0 |a 005.133 
520 |a This book is a collection of developer code recipes and best practices for persisting data using Spring, particularly Spring Boot. The book is structured around practical recipes, where each recipe discusses a performance case or performance-related case, and almost every recipe has one or more applications. Mainly, when we try to accomplish something (e.g., read some data from the database), there are several approaches to do it, and, in order to choose the best way, you have to know the implied trades-off from a performance perspective. You’ll see that in the end, all these penalties slow down the application. Besides presenting the arguments that favor a certain choice, the application is written in Spring Boot style which is quite different than plain Hibernate. Persistence is an important set of techniques and technologies for accessing and using data, and this book demonstrates that data is mobile regardless of specific applications and contexts. In Java development, persistence is a key factor in enterprise, ecommerce, cloud and other transaction-oriented applications. After reading and using this book, you'll have the fundamentals to apply these persistence solutions into your own mission-critical enterprise Java applications that you build using Spring. You will: Shape *-to-many associations for best performances Effectively exploit Spring Projections (DTO) Learn best practices for batching inserts, updates and deletes Effectively fetch parent and association in a single SELECT Learn how to inspect Persistent Context content Dissect pagination techniques (offset and keyset) Handle queries, locking, schemas, Hibernate types, and more