On Mon, 2003-07-28 at 10:32, Aaron Held wrote:
> In the CVS version it looks like the the servlets are created for each 
> request.

I'm not sure if this was ever the behavior, though I always thought it
was too.  ServletFactory.py:181 is where the caching is done.  The
servlet *class* is cached, but the instances seem to be recreated each
time.

Hmmm... maybe it used to be that caching was done in Application.  I
didn't notice that, but there was such a bundle of code I may have
missed it, and then perhaps took that code out without noticing it.

If caching wasn't done in the factory, I think it should be.  I think
that just means we have to have a method to return the servlet to the
factory, and then the factory can keep a pool of servlets.

  Ian




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to