> Peter Huber wrote
> > I think init should be called on startup of the servlet container.
> > So if you have very long lasting init procedures better use init.
>
> I fail to see the point here. How does the time taken to execute the
> initialization matter here.
>
Init is called on startup of servlet-container (afaik). Therefore
initializations are done before the very first call to a servlet in
your webapp. If your webapp depend on resources like a db-connection
pool then I think it's neat to have such resources at hand after
startup or cancel startup (if possible) if resources are not available.

___________________________________________________________________________
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