tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Servlet thread safety in Tomcat
Date Mon, 09 Feb 2004 18:30:22 GMT


>My initial thought ( :-)  forgive me its some time since I have coded
>servlets) was that Tomcat will create a new servlet instance that is
>totally independed of the other,  for each request.

Tomcat will not create a new instance of a servlet for every request to
that servlet.  Tomcat will create one instance on startup if the servlet
is defined in web.xml as such (a load-on-startup tag present).  Tomcat
may create more instances as needed to serve the request load.

Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message