AW: lazy-load web-app

From: Hoeller Juergen <juergen.hoeller@xxx.com>
Date: Mon Apr 01 2002 - 23:16:56 PST

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

----------------------------------------
Juergen Hoeller
Senior Software Engineer
mailto:juergen.hoeller@xxx.com

INFONIQA Informationstechnik GmbH
Traunufer Arkade 1
A-4600 Thalheim bei Wels
Tel.: +43 (0) 7242 9396 3419
Fax: +43 (0) 7242 9396 3312
http://infoniqa.com * http://ec2use.com

> -----Ursprüngliche Nachricht-----
> Von: Chris Pratt [mailto:thechrispratt@xxx.com]
> Gesendet: Dienstag, 02. April 2002 01:53
> An: resin-interest@xxx.com
> Betreff: Re: lazy-load web-app
>
>
> Isn't that the same as not using load-on-startup?
> (*Chris*)
>
> ----- 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
> >
>
>
>
> _________________________________________________________
>
> Do You Yahoo!?
>
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
>
Received on Mon 01 Apr 2002 23:16:56 -0800

This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:17:00 PDT