wood burning stoves*
The moose likes JDBC and the fly likes Proper place to initiate DB Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Proper place to initiate DB Pooling" Watch "Proper place to initiate DB Pooling" New topic
Author

Proper place to initiate DB Pooling

Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
Hi All,

I'm creating the DB connection pool in the init(). Is this the proper way ? Thanks

Main.java (servlet)


Common.java


DBBean.java (implements Serializable)



DBBroker.java
 
Consider Paul's rocket mass heater.
 
subject: Proper place to initiate DB Pooling
 
Similar Threads
Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
IBM Websphere 5 Connection Pool
LAST_INSERT_ID() with threads