I'm using multithreading concept in java and thread's responsibility is to connect to postgres and upload my csv's to tables. So far,I'm creating connection for each thread and closing upon finsihing thread's task.I was come across their is something called connection pooling. I'm not aware, How do I integrate this connection pooling concept to my application? I'm confused, where to start and how do I start?
Thanks in Advance