I\'m currently using a singleton on my web application so that there is always only one connection to the database.