You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "G.L. Grobe" <ga...@grobe.org> on 2001/04/03 01:11:39 UTC

entity beans within an Action

If the life-span of an Action is only when that Action is being exec'd
(which is also where I implemented my session bean since it's life-span is
also not neccesary to hang around), where should entity beans be initialized
and populated by data held in the ActionForm bean? Seems if I init'd them
within the Action, I'd be creating a new Bean everytime it ran through that
Action, same w/ the session. Am I going about this wrong?

Any help much appreciated.