File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
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"
IBM Websphere 5 Connection Pool
Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
LAST_INSERT_ID() with threads