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.
1. I writen a code for access database connection through contextlistener,
2. Attribute class
How can i achieve the availabelity of database connection for the entier application.... if i write a servlet class for access data items from tabel, their also i need connection object, statement object and more as same like Attribute class( which shown above 2).
please any one can help me how can i write a code in servlet for access a database items.