I have deployed a session bean using iiop invoker
<ejb-name>AOServiceInterface</ejb-name>
<jndi-name>ejb/AOServiceInterface</jndi-name>
<configuration-name>Standard Stateless SessionBean</configuration-name>
<invoker-bindings>
<invoker-proxy-binding-name>iiop</invoker-proxy-binding-name>
</invoker-bindings>
On the client side I am running this code (using JNDI lookup)
Properties serverProperties = (Properties) prop.clone();
String serverPort = AOConfigUtils.readProperties(prop,
applicationName + SERVER_PORT);
serverProperties.put(Context.PROVIDER_URL, server + ":"
+ serverPort);
serverProperties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
serverProperties.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces");
InitialContext ic = new InitialContext(serverProperties);
Object obj = ic.lookup("iiop/ejb/AOServiceInterface");
Object pobj = PortableRemoteObject.narrow(obj, AOServiceInterfaceHome.class);
AOServiceInterfaceHome serviceHome = (AOServiceInterfaceHome)pobj;
AOServiceInterface service = serviceHome.create();