i dont think this makes a major diff . what u have decided abt the
connection objects. each user will be given a seperate connection  or
create diff connection obj for each scr or use something call singleton
objects and have vectors to store them .
write abt ur plan in detail .

-----Original Message-----
From: Youngho Cho [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 28, 1999 10:31 AM
To: [EMAIL PROTECTED]
Subject: static or nonstatic method for getting data from DB ?


Hi,
I have a servlet to work with small DB through connection pool.
My question is
static or nonstatic method ,
Which one is a good way to implement a method to connect DB ?.

Thanks in advance.

youngho

________________________________________________________________________
___
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

___________________________________________________________________________
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