Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBCRealm connection pooling

 
Tushar Madhukar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to know whether org.apache.catalina.realm.JDBCRealm class in Tomcat 5 manages DB connection pools.

If I need connection pooling, can I configure the class and re-use it or I would have to implement my own Realm implementation?

Thanks
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The realm (and thus the DB connection) is used only when someone logs into an application. I doubt that it's going to be worth the trouble of dealing with a connection pool just for that. How many users are you expecting to sign in (not being logged in!) simultaneously over any extended period of time?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic