Hi all,

I wan to create a singelon class, which will create a connection pool to the
database on first init and then it will have function to get and return the
connection.

I want to use it in jsp pages which will work with database.

Could anybody tell me, what will happend if two different jsp pages will
tall this singelton in the same time ?
or what is the better way of doing this ?


Thnaks a lot
Tomas Zeman

-------------------------------
www : http://moje.triky.cz
e-mail : [EMAIL PROTECTED]

___________________________________________________________________________
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

Reply via email to