I am attempting to create a multi-threaded application that will use the Apache Commons DBCP Library to manage a connection pool. I have read through several SO posts; it seems to me that Singleton patterns are strongly unpopular when working with database connection fetching.
What design pattern is best used to implement Apache Commons DBCP if not a Singleton?
Aucun commentaire:
Enregistrer un commentaire