I believe the answer is "no", by default you only have one instance of
the servlet running. 

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED] On Behalf Of
SUBSCRIBE EJB-INTEREST anonymous
Sent: Wednesday, October 19, 2005 2:48 AM
To: SERVLET-INTEREST@JAVA.SUN.COM
Subject: servlet

Hi,
I have a question.
I have a servlet.I want to load  country from database and put in
application context.
My question is "Does  the method called from init() to perform the above
has to synchronized " to be thread safe?

Thanks in advance,

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