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 Relational Databases 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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
 
It's not a secret anymore!