users@glassfish.java.net

Re: gf-client ignoring my -Dorg.omg.CORBA.ORBInitialHost ...

From: <forums_at_java.net>
Date: Mon, 16 May 2011 12:34:57 -0500 (CDT)

Not sure what went wrong in your case.  But an alternative is to look up the
glassfish-specific jndi name.  The default is FQN of the remote interface
"com.mycompany.jee.ejb.CalculateBeanRemote".  You can also specify a custom
one with @Singleton(mappedName="my_glassfish_specific_jndi_name")

context.lookup("com.mycompany.jee.ejb.CalculateBeanRemote");


--
[Message sent by forum member 'cf126330']
View Post: http://forums.java.net/node/802611