5th Circle of Hell: Wrath and Sullenness: Here lay unfortunate developers blaming the application server for poor performance while neglecting to use a Connection Pool.
Data persistence is a key ingredient of any enterprise application and it has been a part of the JDK API since its very first release. Most readers certainly agree that data persistence is the most common cause of bottleneck in your applications. Unfortunately, isolating the root of the problem is not a straightforward affair and requires investigating in many areas: from the SQL code, to the interfaces used to issue SQL statements. Other potential areas that might affect your data persistence are the database configuration and finally, the underlying network and database hardware.
For this reason, we have divided this chapter into three main sections in order to cover all factors which can drag the performance of your data persistence:
The first section introduces some principles of good...