init() is called only once, when the servlet is first
loaded...

rajni

--- "S. Chen" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Assume the servlet is loaded when it is first
> called. In that case,
> if two requests called the servlet at  exactly the
> same time, is it
> possible that the method init(...) be called twice?
> So that one needs
> do some synchronization inside init(...) is needed?
>
> Or, init(..) is guaranteed to be called only once?
>
> -SC.
>
>
___________________________________________________________________________
> 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


__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.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

Reply via email to