The preferrred way is to declare portable ejb-ref (via web.xml, ejb-jar.xml,
etc, or with annotation), and map the ejb-ref to its target in
sun-ejb-jar.xml/sun-web.xml (GlassFish 2.x) or
glassfish-ejb-jar.xml/glassfish-web.xml (GlassFish 3.x). Avoid directly
looking up GlassFish-specific global names, or corba interop names with
location info.
The mapping can be portable global jndi name, GlassFish-specific global jndi
name, or corba interop names.
-Cheng
--
[Message sent by forum member 'cf126330']
View Post: http://forums.java.net/node/873593