Spring Boot Persistence Best Practices: Optimize Java Persistence Performance in Spring Boot ApplicationsApress, 29 de abr. de 2020 - 1027 páginas 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
Who This Book Is For Any Spring and Spring Boot developer that wants to squeeze the persistencelayer performances. |
Conteúdo
| 1 | |
Entities | 91 |
Fetching | 134 |
Batching | 297 |
Collections | 356 |
Connections and Transactions | 383 |
Identifiers | 433 |
Calculating Properties | 523 |
Types and Hibernate Types | 903 |
Hibernate JPA Fundamentals | 925 |
Associations Efficiency | 934 |
Five SQL Performance Tips That Will Save Your Day | 937 |
How to Create Useful Database Indexes | 943 |
SQL Phenomena | 950 |
Spring Transaction Isolation Level | 961 |
Spring Transaction Propagation | 967 |
Monitoring | 540 |
Configuring DataSource and Connection Pool | 561 |
Audit | 574 |
Schemas | 601 |
Pagination | 609 |
Queries | 667 |
Inheritance | 853 |
Understanding the Flushing Mechanism | 985 |
Second Level Cache | 999 |
Tools | 1005 |
Hibernate 6 | 1007 |
| 1009 | |
Outras edições - Ver todos
Spring Boot Persistence Best Practices: Optimize Java Persistence ... Anghel Leonard Prévia não disponível - 2020 |
Spring Boot Persistence Best Practices: Optimize Java Persistence ... Anghel Leonard Prévia não disponível - 2020 |
Termos e frases comuns
annotation application is available associated books Author and Book Author author Author entity Author implements Serializable author_id author0_.name AuthorRepository extends JpaRepository<Author batching Beatles Anthology Book entities book of swords booko_.isbn booko_.title books1_.author_id Bytecode class Author implements code is available complete application database transaction default DELETE Ebook entity graph Entity public class EntityManager final long serialVersionUID flush mode foreign key GenerationType.IDENTITY getters and setters Hibernate Id GeneratedValue(strategy INNER JOIN interface AuthorRepository extends isbn Item JDBC JOIN FETCH JPQL JSON lazy loading List<Author List<Book loaded method MySQL native queries Nimar null OneToMany association Optimistic Locking Override public Paperback performance penalties Persistence Context physical transaction PostgreSQL primary key private Long id private static final public class Author public interface AuthorRepository public String Query("SELECT Query(value Repository Transactional(readOnly result set SELECT authoro_.id service-method Spring Boot SQL statements static final long stored procedure Transactional public void trigger the following UPDATE UUID
