users@glassfish.java.net

_at_EJB annotation application rules

From: Joseph B. Ottinger <joeo_at_enigmastation.com>
Date: Fri, 14 Apr 2006 09:19:18 -0400 (EDT)

What are the rules that determine whether EJB injection takes place? I
am playing about with using webwork in a web application, and I have an
@EJB annotation in an action class, but the @EJB annotation isn't used.
In servlets, obviously, it works, and in JSF as well, but I don't know how
webwork's classloading is different such that the annotation isn't being
processed.

Any clues?

-----------------------------------------------------------------------
Joseph B. Ottinger http://enigmastation.com
Editor, http://www.TheServerSide.com joeo@enigmastation.com