InitialContext ic = new InitialContext();
Context enc = (Context) ic.lookup("java:comp/env");
Object ref = enc.lookup("ejb/CallerHome");
CalledSessionHome home = (CalledSessionHome) PortableRemoteObject.narrow(ref,
CalledSessionHome.class);
CalledSession bean = home.create();
String echo = bean.invokeEcho("Level1");
log.debug("echo, callee.invokeEcho=" + echo);
}
catch (Exception e)
{