Details
-
Bug
-
Resolution: Cannot Reproduce
-
Critical
-
None
-
JBossAS-5.0.0.CR2
-
None
Description
In 5.0.0.CR2, @EJB annotations in JSF backing beans (and servlets) seem to work in general. But, for getting this working, it seems to be required, that @Local or @Remote annotations are always on the (local or remote) interface.
In opposite, the following does not work:
@Stateless
@Local(ShopServiceLocal.class)
@Remote(ShopServiceRemote.class)
public class ShopServiceBean implements ShopServiceLocal, ShopServiceRemote
In this case, the @EJB annotated fields in a JSF backing bean are null.