No the servlet engine will take care of it, by default it is a
MultiThreadModel

unless you implement the interface SingleThreadModel

It is prefrable, not a must, but for better performance, synchronised is
used

> -----Original Message-----
> From: Krishna Prasad Kalluri [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, December 24, 1999 9:46 AM
> To:   [EMAIL PROTECTED]
> Subject:      Is synchronization needed
>
> hi
> I am using servlets in one web applications. As from the servlets
> architecture I know after intializing the servlet the remaining calls to
>
> the servlet will be treated as threads.
> Is it necessary to handle the synchronization of threads when there are
> symultanious access or servlet engine will take care.
> regards
> prasad
>
> __________________________________________________________________________
> _
> 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