so in the intranet there will be 30-40 ppl will login to this application
so i need to use connection pooling
i am using this ready made class file for connection pooling
so the problem is how many initial connections should be opend?
thanks in advance
i am using this class file
is this code enough for creating connectionpooling ?
or should i go for other ?
please help me out
Originally posted by Ben Souther:
Most containers provide a connection pool for you.
Which one are you using?
i am using tomcat 4.0
Originally posted by CM Ananth:
One suggestion, if you have planned to use this Connection pool code in your production environment, please have a look at the whole getConnection() method is synchonized.. i think this will hit the performance considerably.. please use synchronized blocks inside the method, wherever required..
so i should alwasy prefer synchronized blocks over synchronized methods in all the cases??? thanks!!!