servlet 2005-10-18 - By Duc Vo
Back 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:SERVLET-INTEREST@(protected)] On Behalf Of SUBSCRIBE EJB-INTEREST anonymous Sent: Wednesday, October 19, 2005 2:48 AM To: SERVLET-INTEREST@(protected) 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 listserv@(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 listserv@(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
|
|