[jboss-user] [EJB 3.0] - Re: JNDI and the EntityManager
ALRubinger
do-not-reply at jboss.com
Sun Oct 15 15:53:47 EDT 2006
Usually I place the annotation on an instance member of my EJB. You can't inject stuff into a local method variable.
@Resource(mappedName="jndilocation") will do it.
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978414#3978414
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978414
More information about the jboss-user
mailing list