"anthon.r" wrote : JBoss 5.0.0.GA
  | 
  | Hi,
  | 
  | I'm exhausted searching for some enlightenment on whether the attribute 
"mappedName" in @EJB is needed or not in a JSF Managed Beans. Could please 
anyone enlighten me on this subject? 
  | 

Emanuel's comment here suggests that it should work without the mappedName 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=143046.
 If it's not working for you, please open a new thread with more details 
including logs in the AS5 forum 
http://www.jboss.org/index.html?module=bb&op=viewforum&f=287 
anonymous wrote : 
  | My guess is, if @EJB is declared at the class level, the container tries to 
inject the session bean into java:/comp/env/audit JNDI name instead of 
injecting it to the field directly as opposed to @EJB that is declared at the 
field level. Did I get it right? 

Correct. The EJB is made available in the java:comp/env namespace.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216207#4216207

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216207
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to