tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject RE: servlets
Date Tue, 28 Jan 2003 21:22:57 GMT


On Tue, 28 Jan 2003, Shapira, Yoav wrote:

>
> >  If I write an servlet and DO NOT implement the SingleThreadModel, I
> >have a guarantee that I'll have only one instance of it?
>
> No.

That's not quite right.

The servlet spec guarantees that you will get a single instance of a
non-SingleThreadModel servlet PER <servlet> DEFINITION for that webapp.
See Section SRV.2.2 of the Servlet 2.3 spec for the formal details.

Craig


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message