On 1/22/07, Paris Apostolopoulos <[EMAIL PROTECTED]> wrote:

[snip]
I wonder the @EJB annotations are not going to work (I guess). I had a
look @ some glassfish FAQ..



The standard annotations for Java EE 5 resource injection are indeed *not*
going to work on a Struts action, because they only work on
container-created objects (servlets, filters, listeners, and JSF managed
beans).  You'll want to look at a custom interceptor solution (as described
in this thread), continuing to use JNDI lookups, or perhaps using an
alternative resource injection framework like Spring.

Craig

Reply via email to