jndiName = jndiNameResolver.resolveRemoteBusinessDefaultJNDIName(sessionBean);
}
String invokerLocatorURL = getClientBindURL(remoteBinding);
InvocationHandler invocationHandler = new SingletonBeanRemoteInvocationHandler(containerRegistryKey,
invokerLocatorURL, clientInterceptors);
Object proxy = proxyFactory.createProxy(allRemoteinterfaces
.toArray(new Class<?>[allRemoteinterfaces.size()]), invocationHandler);
JNDIBinderImpl jndiBinder = new JNDIBinderImpl(jndiCtx, jndiName, proxy);
String binderMCBeanName = "<DefaultRemoteJNDIBinder><InvokerLocatorURL:" + invokerLocatorURL + "><Bean:"
+ sessionBean.getEjbName() + "><Unit:" + unit.getName() + ">";
BeanMetaData jndiBinderBMD = createBeanMetaData(binderMCBeanName, jndiBinder, container);