RE: [Webware-devel] Servlet init / lifecycle

2003-07-30 Thread paul.boddie
Ian Bicking [mailto:[EMAIL PROTECTED] wrote: > [My patch to Application with respect to virtual resources.] > This actually doesn't handle virtual resources. Unlike mod_python, > URLParser adds the extension itself, so it has to have a filesystem to > search. The assumption of a file is carrie

RE: [Webware-devel] Servlet init / lifecycle

2003-07-29 Thread Ian Bicking
On Tue, 2003-07-29 at 04:36, [EMAIL PROTECTED] wrote: > I know that this is "done and dusted" already, but I also think that this is > a great idea. You may have seen a patch I submitted which attempts to allow > Webware contexts to have "virtual resources" in much the same way that > mod_python do

RE: [Webware-devel] Servlet init / lifecycle

2003-07-29 Thread paul.boddie
Geoffrey Talvola [mailto:[EMAIL PROTECTED] wrote: > > Ian Bicking wrote: > > > > 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. > > I ag

RE: [Webware-devel] Servlet init / lifecycle

2003-07-28 Thread Chuck Esterbrook
On 28 Jul 2003 23:35:39 -0500, Ian Bicking wrote: > On Mon, 2003-07-28 at 22:54, Ian Bicking wrote: > >> Really, if caching will be generally implemented I think it still >> belongs in servlet factories.  I think the right way to do that >> would be to move some of what I've put in PythonServletFac

RE: [Webware-devel] Servlet init / lifecycle

2003-07-28 Thread Ian Bicking
On Mon, 2003-07-28 at 22:54, Ian Bicking wrote: > Really, if caching will be generally implemented I think it still > belongs in servlet factories. I think the right way to do that would be > to move some of what I've put in PythonServletFactory into > ServletFactory, and use a different method in

RE: [Webware-devel] Servlet init / lifecycle

2003-07-28 Thread Ian Bicking
On Mon, 2003-07-28 at 22:17, Chuck Esterbrook wrote: > On Mon, 28 Jul 2003 15:34:04 -0400, Geoffrey Talvola wrote: > >> 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 facto

RE: [Webware-devel] Servlet init / lifecycle

2003-07-28 Thread Chuck Esterbrook
On Mon, 28 Jul 2003 15:34:04 -0400, Geoffrey Talvola wrote: >> 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. >> > I agree -- the cachin

RE: [Webware-devel] Servlet init / lifecycle

2003-07-28 Thread Geoffrey Talvola
Ian Bicking wrote: > 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

Re: [Webware-devel] Servlet init / lifecycle

2003-07-28 Thread Ian Bicking
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, b