Matt Feifarek wrote:
> I don't believe that this is the case. I think that a servlet instance
> stays in a thread, and is destroyed if the AppServer needs the thread
> for another servlet. 

No.  A servlet will be used in one thread to handle a request, then it will
be put back into the servlet pool, and later it will be used in another
thread to handle another request.  This is the same on every platform --
Linux, Windows, whatever.  A servlet instance is never used by more than one
thread at the SAME TIME, but it is definitely used by more than one thread
over the lifetime of the servlet instance.

It seems to me that as long as you're not storing ZODB-managed data IN the
servlet instance somehow, this would cause no problems.

- Geoff


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to