anonymous wrote : I have been working on this for about a week, and I can't
get my JSF backing bean to find a simple stateless session bean in my EJBs. At
this point, I'm wondering, is JNDI the right tool for this job?
One of the common mistakes that happen is that while deploying the bean
THANK YOU! That gave me a dump of every bean in JNDI and let me find exactly
what I'm looking for. Ok, it is as simple as it should be.
Now I have one more question which should be even easier:
Is it possible to use the @EJB annotation to inject a stateless session bean
from my EJBs into my
As another way of stating it: If I can grab it from an InitialContext I should
be able to have it injected with @EJB, right? Because that isn't working. How
does the @EJB decide which bean to grab? I assume it looks at the class name,
so if I have:
@EJB private myBean;
it will look in JNDI
Frankly speaking, i havent worked with EJB3. You might post your ejb-jar.xml
and jboss.xml(the relevant portions), so that someone out here might be able to
help you out.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3954294#3954294
Reply to the post :