Technically, that isn't correct - PlugIn's are initialized once per
module, which may or may not be once per application.

As for upgrading, I think converting a PlugIn to a context listener
would be pretty easy, so what I'm thinking would be better targets of
our work would be letting people use complex pieces like ActionForms
or JSP pages.

Are you planning to upgrade any legacy applications to Struts Action
2, and if so, what could we do to help?

Don

On 6/12/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
All of those things fire per-request though, a plugin fires only at app
  startup (and of course if ActionServlet is restarted by the container,
but I think that's pretty rare).  I think plugins are a different use
case entirely, aren't they?

I suppose we could recommend people use ContextListeners instead, which
I've come to prefer frankly, but if we're talking about
upgrading/compatibility, that's maybe not the best answer.

Frank

Ted Husted wrote:
> On 6/12/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>> * Plug-ins... does SAF2 have an analogy for the Struts plug-in
>> mechanism?  If not, this should be looked at (it doesn't strike me as
>> too tough if it has to be developed).
>
> Depending on the use case, you'd either use an interceptor, dependency
> injection, or an actual filter.
>
> -Ted.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Java Web Parts -
http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!

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



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

Reply via email to