bean.noop(new ReferenceTest(), true);
Object homeRef = enc.lookup("ejb/OptimizedEJB");
home = (StatelessSessionHome) PortableRemoteObject.narrow(homeRef, StatelessSessionHome.class);
bean = home.create();
bean.noop(new ReferenceTest(), true);
ReturnData data = bean.getData();
StatelessSessionLocalHome localHome = (StatelessSessionLocalHome) enc.lookup("ejb/local/OptimizedEJB");
StatelessSessionLocal localBean = localHome.create();
localBean.noop(new ReferenceTest(), true);