This content has been marked as final.
Show 3 replies
-
1. Re: Can Java Class Call a Local EJB Method?
pvamstel Oct 2, 2002 1:56 AM (in response to jmboone)Local calls can only be done in the same server.
I thonk that means the place where the ejb's live.
A local java class is not there. So only the remote stuff will work.
grt Patrick -
2. Re: Can Java Class Call a Local EJB Method?
adrian.brock Oct 2, 2002 8:42 AM (in response to jmboone)Outside of the deployment package of the EJB
(an ear in your case), but inside the Application Server,
you can lookup the local home in global jndi.
By default it is bound at local/<ejb-name> or
<local-jndi-name> in jboss.xml to override.
Regards,
Adrian -
3. Re: Can Java Class Call a Local EJB Method?
jmboone Oct 2, 2002 5:27 PM (in response to jmboone)I finally figured out exactly what you said, I needed to use the name the bean was bound to in the global JNDI namespace (as seen in the JNDI view web page). Thanks for the feedback. I'm cooking now!