You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Celinio Fernandes <ce...@yahoo.com> on 2009/12/28 21:56:57 UTC

[Struts 2.1.8] Dependency injection and Struts actions

Hi,
I have a question about dependency injection in Struts 2 actions.
Dependency injection (JSR 330) is integrated in Java EE 6 which has become final a couple of weeks ago.

Struts actions are not managed objects but is there a way with some available dependency injection implementation to inject 
a stateful session bean in a Struts action ?
If not, what would be needed to make it possible ?

Thanks.