This content has been marked as final.
Show 3 replies
-
1. Re: how to invoke a local ejb interface in eap 6.1?
sfcoy Aug 10, 2013 10:37 PM (in response to als)The use of jndi properties for local ejb objects is not necessary.
You will need to show us more code and failure stack traces in order to determine the cause of your problem.
-
2. Re: how to invoke a local ejb interface in eap 6.1?
wdfink Aug 11, 2013 12:27 PM (in response to als)You might have a look to this quickstart.
If you use EJB3 you should use injection with @EJB and let the container inject the correct references instead of looking it up by yourself
-
3. Re: how to invoke a local ejb interface in eap 6.1?
als Aug 20, 2013 5:54 AM (in response to wdfink)My code is like
ALocal m = (ALocal) context.lookup("ejb:" + appName + "/" + moduleName + "/" + distinctName + "/" + beanName + "!" + viewClassName); where ALocal is a local interface of my EJB
when I am triying to invoke I got
Could not find view com.xyz.A.ALocal for EJB A
What should I fix, if I dont want to go to injection