cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai Mütz <kmu...@web.de>
Subject RE: 'Hello World' for Cocoon component builders?
Date Mon, 17 Oct 2005 18:50:18 GMT
Does your Component implement the
org.apache.avalon.framework.thread.ThreadSafe interface? Components I am
working on   at the moment are implementing this interface and are
initialized at cocoon startup.

> -----Original Message-----
> From: users-return-83029-kmuetz=web.de@cocoon.apache.org
> [mailto:users-return-83029-kmuetz=web.de@cocoon.apache.org]On Behalf Of
> David Legg
> Sent: Monday, October 17, 2005 7:28 PM
> To: users@cocoon.apache.org
> Subject: Re: 'Hello World' for Cocoon component builders?
>
>
> Sylvain Wallez Wrote:
> >> My initialise() method is now sending a log message (strangely not at
> >> Cocoon boot time but the first time I access the web app).
> >
> > This is because initialization doesn't inevitably mean "at
> startup time".
> > Depending on the case, it can also happen the first time the
> component is
> > used.
>
> Oh!  ...that's interesting.  The main reason I was trying to implement a
> component in the first place was because initialization can take
> a long time
> (several minutes) so I didn't want it to occur the first time a page was
> viewed.
>
> Is there a standard way to handle that pattern of usage?
>
> Regards,
> David Legg
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message