June 2014
Intermediate to advanced
330 pages
7h 50m
English
Performance-tuning the persistent layer means starting at the bottom with a good database design with correct indexes, well tuned queries, and a thought-through choice of isolation level. If JDBC is used directly, make sure that connection pooling is used, and investigate what the application may gain by using fetch size, batch updates, and prepared statements.
With Hibernate and the JPA specifications, the gap between the relational database layer and the Java objects is bridged. In the Java layer, tuning can be performed using the following techniques and strategies:
Read now
Unlock full access