title: Reusing a connection while polling a database in JDBC?
body: <p>Have a use case wherein need to maintain a connection open to a database  open to execute queries periodically. </p>
  
  <p>Is it advisable to close connection after executing the query and then reopen it after the period interval (10 minutes). I would guess no since opening a connection to database is expensive.</p>
  
  <p>Is connection pooling the alternative and keep using the connections?</p>