InitialContext ctx = new InitialContext();
Object obj = ctx.lookup("jacc/RunAs");
obj = PortableRemoteObject.narrow(obj, RunAsServiceRemoteHome.class);
RunAsServiceRemoteHome home = (RunAsServiceRemoteHome) obj;
System.out.println("Found RunAsServiceRemoteHome");
RunAsServiceRemote bean = home.create();
System.out.println("Created RunAsServiceRemote");
Class[] sig = {CallerInfo.class};
Method methodCall = bean.getClass().getMethod(method, sig);
Object[] args = {info};
methodCall.invoke(bean, args);