> Date: Mon, 1 Apr 2002 15:53:07 -0800
> From: "Chris Pratt" <thechrispratt@xxx.com>
> Subject: Re: lazy-load web-app
>
> Isn't that the same as not using load-on-startup?
> (*Chris*)
No, load-on-startup (or ServletContextListener even) is used to do
bootstrapping work that should happen before the first request **to the
webapp**, but not necessarily the whole web server.
> Date: Tue, 2 Apr 2002 09:16:56 +0200
> From: "Hoeller Juergen" <juergen.hoeller@xxx.com>
> Subject: AW: lazy-load web-app
>
> Well, not using load-on-startup leaves your servlets unstarted... but
> your ServletContextListener will still receive the contextInitialized
> event and thus do any startup work you implemented for your web
> application. A "load-on-startup" tag at the web-app level would be a
> nice way to control this, especially for development configurations.
>
> Juergen
Thanks for the nod. Yes, development configurations is why I'm asking.
Once (If) this is implemented, it would be appropriate to have the examples
webapps that ship with Resin to have this setting enabled so Resin won't
waste any time loading (nor logs to log()) for these examples if they are
never accessed while Resin is loaded.
Doesn't anyone else think this is a great idea? It is so needed on my
machine.
> - ----- Original Message -----
> From: "David Smiley" <dsmiley@xxx.org>
> To: <resin-interest@xxx.com>
> Sent: Monday, April 01, 2002 3:23 PM
> Subject: FR: lazy-load web-app
>
>
> > Feature Request:
> >
> > I would like the ability to have Resin lazy-load web-apps. I work on
many
> > projects and I would prefer not to comment out parts of the <web-app>
> > definitions... and instead just leave them there. Some of the web-apps
I
> > have (most actually) have a load-on-startup which will do various things
> > that I don't want to happen at all if I don't even access that web-app.
> >
> > A nifty way to add this feature would be to have a "lazy-load" attribute
> on
> > the web-app element.
> >
> > ~ David Smiley
> >
Received on Fri 05 Apr 2002 07:51:59 -0800
This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:17:00 PDT