[jboss-user] [JNDI/Naming/Network] - Re: How do I make a lookup in an ear.

waynebaylor do-not-reply at jboss.com
Thu Oct 11 12:17:06 EDT 2007


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094186#4094186

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094186



More information about the jboss-user mailing list