only one connection object should be there for database access.
we have to use static method.

> ----------
> From:         Youngho Cho[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology.
> 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