• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

datasource - collection pooling w/Tomcat 5

 
Dave Bosky
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could someone provide an example of using a datasource with connection pooling? I've got the datasource set up correctly and is working fine but I need to use connection pooling and have no idea of where to begin.

I'm new to the Java/Tomcat world and but connection pooling seems pretty common. Examples...please..

Thanks,
Dave
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so what you have is a non-pooled DataSource ?

Have you tried the example in Tomcat docs ?

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html

The section entitled 'Database Connection Pool (DBCP) Configurations' will be of particular interest to you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic