This content has been marked as final.
Show 1 reply
-
1. Re: How do I make a lookup in an ear.
waynebaylor Oct 11, 2007 12:17 PM (in response to hdmonty)the "myapp1/abcbean/local" and "myapp2/abcbean/local" are default jndi names. what you should do is override them with your own jndi names. that way you can name your ear whatever you want and still use the same jndi lookups.
to override the default jndi names you can use the jboss annotations @LocalBinding & @RemoteBinding, or you can do it in the ejb-jar.xml & jboss.xml descriptors.