GlassFish does not have GlassFish-specific local global jndi name. In
addition to using a portabl global jndi name, you can also try injecting the
bean into a web component class (servlet, listener, filter, managed bean,
etc), or declare a <ejb-locla-ref> in web.xml.
@EJB(name="ejb/dispatchLocal")
private DispatcherServiceLocal dispatchLocal;
In your pojo class, lookup("java:comp/env/ejb/dispatchLocal");
--
[Message sent by forum member 'cf126330']
View Post: http://forums.java.net/node/828572