tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Schnack <>
Subject RE: servlets
Date Tue, 28 Jan 2003 22:43:36 GMT
  Yes, that's cool :-)))
  Anyway, if you have multiple tomcats one would not see others
instances, so no prob at all.
  I don't think anyone would use SingleThreadModel... it's practically

On Tue, 2003-01-28 at 20:32, Wendy Smoak wrote:
> Craig wrote
> > 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.
> Interesting... I was under the impression that the container was free to
> create as many instances of your Servlet as it wanted to, but that appears
> to be the case *only* for SingleThreadModel.  (Does anyone actually _use_
> that?)
> So as long as you're not in a distributed environment [multiple Tomcats?]
> and not implementing SingleThreadModel, it appears you *can* assume that
> there will be only one instance of your Servlet.
> -- 
> Wendy Smoak
> Applications Systems Analyst, Sr.
> Arizona State University PA Information Resources Management

Felipe Schnack
Analista de Sistemas
Cel.: (51)91287530
Linux Counter #281893

Centro Universitário Ritter dos Reis
Fone/Fax.: (51)32303341

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

View raw message