You can inject the ejb-ref with @EJB into the calling component, and map the
it in glassfish-web.xml to
corbaname:iiop:127.0.0.1:3700#java:global/MailServer/ServerLogic/ServerUtils
Another option without using @EJB injection is to declare the ejb-ref in the
descriptor of the calling component, e.g., web.xml, application-client.xml,
and map it in glassfish-web.xml or glassfish-application-client.xml. Your
client can then look up the portable name of the ejb-ref
("java:comp/env/ejb/xxx");
--
[Message sent by forum member 'cf126330']
View Post: http://forums.java.net/node/829815