I am working on a project and i got the complete implementaion to do. I thought to make Connection pooling for JDBC but don't have any idea how to do it (using TomCat) ... can any one of you help me or point me to some nice and detail tutorial, (i don't have much time to search on google and to look for the best tutorial). please help me out.
Regards,
The difference between <b>failure</b> and <b>success</b> is often being <b>right</b> and being <b>exactly right</b>.
thanks, i have an application to be build by 1 week. I am managing the total design architect as well. To handle Database i thought to do Connection Pooling.
I want to ask, should i do for connection pooling or should i make a STATIC DBConnection class, which loads at Server startup and make a connection?
The difference between <b>failure</b> and <b>success</b> is often being <b>right</b> and being <b>exactly right</b>.
Originally posted by Muhammad Ali Amin: thanks, i have an application to be build by 1 week. I am managing the total design architect as well. To handle Database i thought to do Connection Pooling.
I want to ask, should i do for connection pooling or should i make a STATIC DBConnection class, which loads at Server startup and make a connection?
Your approach will vary according to which of the two options (listed above) you choose. If you're pressed for time, I think the container managed pooling would be the simpler and faster of the two. See the link given for example code.