The way that JBoss sets the JNDI name (w/o explicitly setting it via @Local etc) is earname/ejbname/local etc. I've seen that there is a way to determine programmatically the current earname/context with in JBoss 5. I just can't find what is it is now. Can someone point it out to me please?
J