Hi,
Yes it is possible.
1) first try attempting creating a Hashtable with connection objects and
associate each connection object with a "Boolean" value[True/False].
This "Key Value pair" will help in identifying whether a connection
object is currently in use or not.
2) Initially open about say 10 connections and add them to ur hashtable.
Then as and when a request comes retrieve this connection object from
the hashtable and useit.
3) when the operations are over do not forget to return the connection
object to the pool created [here pool refers to a datastructure as
simple as a hashtable.]
4) Other than this many connection pooling techniques are available at
the sun's site. The afore mentioned idea is borrowed from jason hunters
technique of implementing connection pooling mechanism.
5) When a hashtable with connection objects are possible it must be
possible defntly to create a "stack of the same" and do a push or pop
operations ..
Hope this idea helps
Anantha Krishnan
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html