I would like to ask question on this subject as well.
I've read a OOP design patterns book that features Java when
illustrating various patterns. The book shows show to create various
mechanisms for pooling and releasing various resources (including
connections). The book demonstrates this by using a hash map that
reference many linked lists for a particular kind of connection and
the link lists can reference many connection objects for one kind of
Would a hand crafted pooling mechanism not compete well with some of
the existing solutions mentioned?
Richard Broersma Jr.
Visit the Los Angeles PostgreSQL Users Group (LAPUG)