Hello again ,

If I open the connection on the service() method , I get the overhead time for opening
connections ( which in this case is impossible to carry ) each time there is an
interaction with the servlet.

Guy

Neeraj Arora wrote:

>  Hi,
>
> My suggestion is that you should open the connections in service /doPost/doGet
> methods and close within that.Whenever servlet'll be called your connection will open
> and catch the exception properly.
>
> Neeraj
> --
>
> On Mon, 30 Aug 1999 15:14:56   Guy Nirpaz wrote:
> >Hi all,
> >
> >I'm developing a servlet which opens  several resources connections at
> >the init() method.
> >I would like to make sure that if init() fails for any reason, like
> >being unable to open a resource connection , any request from the
> >servlet will force init() to start again - as if it is the first time
> >the servlet is being called.
> >
> >I would appreciate any kind of help.
> >
> >Thanks ,
> >
> >Guy
> >
>
> Get your FREE Email at http://mailcity.lycos.com
> Get your PERSONALIZED START PAGE at http://my.lycos.com
>
> ___________________________________________________________________________
> 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
begin:vcard
n:Nirpaz;Guy
tel;work:MultiConn Internatilnal
x-mozilla-html:FALSE
org:MultiConn International
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Developer
fn:Guy Nirpaz
end:vcard

Reply via email to