File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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
Jboss connection pool not releasing the connection from pool
Is HTTP connectionless or connection oriented
HTTP Connection less or Connection based?
Head First OOAD
H2 database consule lockings
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014