A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
connection to DB
Joined: Nov 06, 2006
Nov 07, 2006 19:22:00
i am creating a small application which contains few pages and using DAO's to connect to DB.do i need to creat a connection in each and every DAO
Joined: Feb 03, 2004
Nov 08, 2006 02:37:00
of course not. your database connections should be provided by some sort of connection pool, which usually is a singleton (or singleton like).
I agree. Here's the link:
subject: connection to DB
HTTP Connection less or Connection based?
Head First OOAD
Jboss connection pool not releasing the connection from pool
H2 database consule lockings
Is HTTP connectionless or connection oriented
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014