[jboss-user] [EJB 3.0] - Re: EJB reference in Servlet always null
ALRubinger
do-not-reply at jboss.com
Tue Mar 10 18:38:25 EDT 2009
@EJB.mappedName is a vendor-specific (non-portable) attribute which in JBoss EJB3 is used to denote the JNDI target; you're using it as the target EJB name.
@EJB should be sufficient. Likewise you don't need to specify @Stateful.name (the default is the bean impl class getSimpleName()).
S,
ALR
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216793#4216793
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216793
More information about the jboss-user
mailing list