I can still call other ejbs after a JNDI lookup even if i don't use an ejb-local-ref tag? Also, i get lookup exceptions when i use xdoclet generated util objects that use the COMP_NAME for lookup? How do i fix this? (I'm using jboss) thanks
Joined: Sep 18, 2003
ok, i think i found out the problem xdoclet generated the wrong COMP_NAME to use because i left out the "ref-name" tag. and ejb-local-ref is required so the ejb is bound to java:comp namespace
I can still call other ejbs after a JNDI lookup even if i don't use an ejb-local-ref tag?
The ejb-ref and ejb-local-ref mappings are intended for avoiding hardcoded JNDI names within your EJB code. So, you can access other EJBs via their real JNDI name even if you haven't added ejb-ref's for them, but you can't use logical/private JNDI names for the lookup without those mappings.