Action beans should/must be "prototype" scope ?
Cantor, Scott
cantor.2 at osu.edu
Tue Feb 4 18:51:09 EST 2014
On 2/4/14, 6:28 PM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:
>Should or must Action beans be defined with scope="prototype" ?
It depends on the bean, but the only cost of using prototype for all of
them is performance, and that isn't really intended to be a factor. To
avoid nasty errors, we really should use prototype.
>Do we want to consider changing the default from "singleton" to
>"prototype" ?
That's ok if it affects just those files, which I think it does.
-- Scott
More information about the dev
mailing list