10
Connection Pooling
Connection pooling is a technique used in software development to manage database connections. These connections can be reused during program execution and conventional wisdom dictates that anything that can be reused should be created once and reused as needed. That has been the premise throughout this book as we strive to achieve higher-performing Java applications. This chapter covers the concept of connection pooling, providing fundamental principles, implementation approaches, and examples. Our coverage includes establishing connections, managing them, and terminating them when no longer needed. Best practices related to connection pooling will also be covered.
The following main topics are covered in this chapter: ...
Get High Performance with Java now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.