How to change remote JNDI-name in Jonas

Stefaan Somers <[email protected]> Tue, 9 Aug 2011 09:55:53 +0200
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <CA+N_TpWF02BCDZ9-D+_QXZndmbpUsqyreTHQgDYv2RqvreDXhQ@mail.gmail.com>
Hi all,

I need to change the remote jndi-name of a Stateless Session Bean .
Default the naming for jonas is :

SessionBean.class.getName()
+ "_" + SessionBeanInterface.class.getName() + "@Remote"

How can I change this. If I add the attribute mappedName in the
@Stateless-annotation, I cannot get to the Local Interface anymore.
And I need to be able to get to both.

Greetings,

Stefaan Somers