aspose 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 Spring in Action this week in the Spring 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Proper place to initiate DB Pooling