Connection Pools and JNDI DataSources
Learn Connection Pools and JNDI DataSources (Running Application Servers in Production, Application Servers) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Opening a database connection is slow, so servers keep a pool of ready connections and hand them out when needed.