// Find the Proxy Factory Key for this SLSB
String proxyFactoryKey = slsbJndiRegistrar.getProxyFactoryRegistryKey(jndiName, smd, isLocal);
// Lookup the Proxy Factory in the Object Store
StatelessSessionProxyFactoryBase proxyFactory = Ejb3RegistrarLocator.locateRegistrar().lookup(proxyFactoryKey,
StatelessSessionProxyFactoryBase.class);
// Create a new EJB2.x Proxy
proxy = (EJBObject) proxyFactory.createProxyEjb2x();
}
// Create a Handle
StatelessHandleRemoteImpl handle = new StatelessHandleRemoteImpl(proxy);