Your web app needs somewhere to store and read data. By far the most common place to do that is in a SQL database. This chapter goes through all the wiring you need to connect to your database with a connection pool, how to set up the initial schema, and how to maintain changes to your database schema over time, as requirements inevitably change.
Closing and cleaning up resources with use
AutoCloseable ...