Object obj = getInitialContext().lookup("naming/SessionB");
obj = PortableRemoteObject.narrow(obj, TestEjbLinkHome.class);
TestEjbLinkHome home = (TestEjbLinkHome)obj;
getLog().debug("Found naming/SessionB");
TestEjbLink bean = home.create();
getLog().debug("Created the bean");
assertEquals("Works", bean.testEjbLinkCallerLocal("java:comp/env/ejb/LocalRelativeSessionA"));
getLog().debug("Test succeeded");
bean.remove();
}