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.
What does 'PROVIDER_URL'? Is it necessary to add this piece of information in getConnection() method? Currently I'm using Weblogic 8.1 server. How can I make this information as generic i.e. it can be used any knd of container.