Thanks for the answer!
It would be great if GlassFish could support this in a future. I want to be able to protect some webapplications within a ear by having them installed on a different virtual host listening on a other port, but still sharing the EJBs in the ejb-jar file.
[Message sent by forum member 'patbos' (patbos)]
http://forums.java.net/jive/thread.jspa?messageID=321204