If we are talking about application scope, then any member could do
the initialization. It need not be the command, but could be a Struts
1 "PlugIn".

On 2/21/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
Niall Pemberton wrote:
> The Commands have access to the application scope through the context
> - isn't that the best way to get any required resources that it needs
> to use during execution?
>
Niall, the context is only available at invocation time. What about
first time setup? I cannot solve concurrency without having to
synchronize every time to check for first-initialization. I'd prefer to
an initialization step to eliminate any locking.

Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to