title: when to use a db connection pool
body: <p>I am working on a Java GUI and I often need to connect to the database,but I would like to only use the connection statements once,instead of writting the whole thing everytime i use it.
  I guess I would probably connect around 20 times in my whole system. So I wanted to know in which situation it is best to use Connection Pool?</p>