private CrashRem lookup(String name) throws Exception
{
Object o = config.getNamingContext(serverName).lookup(name);
CrashRemHome home = (CrashRemHome) PortableRemoteObject.narrow(o, CrashRemHome.class);
return home.create();
}
private UserTransaction startTx() throws NamingException, SystemException, NotSupportedException
{
UserTransaction tx = (UserTransaction) config.getNamingContext(serverName).lookup("UserTransaction");