*/
public void getBeanByLookup() throws NamingException, CreateException, RemoteException {
// Obtain the default initial JNDI context.
Context initCtx = new InitialContext();
Object result = initCtx.lookup(getBeanName());
SimpleEjb2Home beanHomeLookup = (SimpleEjb2Home) javax.rmi.PortableRemoteObject.narrow(result,
SimpleEjb2Home.class);
SimpleEjb2 beanLookup = beanHomeLookup.create(DEFAULT_CODE, DEFAULT_NAME);