ConnectionPool with multiple SQL containers

i make my first try with java&vaadin to make a web app with MySQL connected with JDBC to several table containers, coresponding to multiple views, each with other CRUD form connected to other table in MySQL.
All demos i find are sigle view, (adresbooks) and i cannot understand how to initiate pool, and then containers, in this multiple TableQuery enviroment.
As far i understand now, initiate pool on first UI load class, and then create tableContainers on each view loading. Is corect?