This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I created connection pool classes. Now I want to use it for the entirely application (JSP and Servlet). Does anyon know how to get it to work? I know JSP can use the scope to set bean lifetime, is there a similar procedure for servlet to set scope too? If I out the pool instatiation in the init() of my servlet, how can I passed the pool so other classes can use it?