Hi Ignacio,
We don't have a way to disable the Glassfish-specific default names, so the best approach is to package a sun-ejb-jar.xml with the second, third, etc. application that sets the <jndi-name> to something unique.
--ken
[Message sent by forum member 'ksak' (kenneth.saks_at_sun.com)]
http://forums.java.net/jive/thread.jspa?messageID=383034