Victor Ng wrote:
> Am I correct in thinking that Webware shares servlet
> instances between
> incoming requests?

Not quite.  A servlet instance is only used in a single thread at a time, to
handle a single request.  If two requests for the same servlet class are
made at the same time, two separate servlet instances will be used to handle
those requests.

The catch is that servlet instances are never deleted.  Instead they are
kept in a pool and reused for future requests.  A servlet instance may be
used in thread A and then _later_ used in thread B, but it will never be
used in Threads A and B at the same time.

- Geoff


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to