Read While You Wait - Get immediate ebook access, if available*, when you order a print book

Spring Boot Persistence Best Practices

Optimize Java Persistence Performance in Spring Boot Applications

Authors: Anghel, Leonard

Download source code Free Preview
  • The first book on Java data persistence focused on the Spring Boot framework
  • The first book that takes a best practices-centric code recipes approach
  • Includes coverage of Hibernate 
see more benefits

Buy this book

eBook 39,99 €
price for China (P.R.) (gross)
  • ISBN 978-1-4842-5626-8
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover 49,99 €
price for China (P.R.) (gross)
  • ISBN 978-1-4842-5625-1
  • Free shipping for individuals worldwide
  • Immediate ebook access, if available*, with your print order
  • Usually dispatched within 3 to 5 business days.
About this book

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.

What You Will Learn

  • 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

Who This Book Is For 

Any Spring and Spring Boot developer that wants to squeeze the persistence layer performances.

About the authors

Anghel Leonard is a Chief Technology Strategist with 20+ years of experience in the Java ecosystem. In daily work, he is focused on architecting and developing Java distributed applications that empower robust architectures, clean code, and high-performance. Also passionate about coaching, mentoring and technical leadership. He is the author of several books, videos and dozens of articles related to Java technologies.

Table of contents (16 chapters)

Table of contents (16 chapters)

Buy this book

eBook 39,99 €
price for China (P.R.) (gross)
  • ISBN 978-1-4842-5626-8
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover 49,99 €
price for China (P.R.) (gross)
  • ISBN 978-1-4842-5625-1
  • Free shipping for individuals worldwide
  • Immediate ebook access, if available*, with your print order
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Spring Boot Persistence Best Practices
Book Subtitle
Optimize Java Persistence Performance in Spring Boot Applications
Authors
Copyright
2020
Publisher
Apress
Copyright Holder
Anghel Leonard
eBook ISBN
978-1-4842-5626-8
DOI
10.1007/978-1-4842-5626-8
Softcover ISBN
978-1-4842-5625-1
Edition Number
1
Number of Pages
XXX, 1027
Number of Illustrations
5 b/w illustrations, 143 illustrations in colour
Topics

*immediately available upon purchase as print book shipments may be delayed due to the COVID-19 crisis. ebook access is temporary and does not include ownership of the ebook. Only valid for books with an ebook version. Springer Reference Works are not included.