• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection pooling outside the container.

 
PradeepPillai Pradeep
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to write a jdbc program to do some migration. I would like the connection to be managed by some sort of connection pooling mechanism. I know I can do it within the container. Is there any way I can do it outside the container, without using a frame wrok like spring?
 
Fatih Keles
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may use Apache Commons - DBCP.
 
PradeepPillai Pradeep
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. I will give it a try.
 
PradeepPillai Pradeep
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, doesn't this have to be in the container?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No
 
PradeepPillai Pradeep
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Awesome.
Thank you very much.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic