RemoteEmployee ejb = (RemoteEmployee)initialContext.lookup("ejb:/Hibernate4AddColumnTestCase/" + EmployeeEjb.class.getSimpleName() + "!" + RemoteEmployee.class.getName());
ejb.saveEntity(1);
Assert.assertEquals("1-name", ejb.getEntityDesc(1));
final RemoteClassReplacer replacer = new RemoteClassReplacer();
replacer.queueClassForReplacement(Employee.class, Employee1.class);
replacer.queueClassForReplacement(EmployeeEjb.class, EmployeeEjb1.class);
replacer.replaceQueuedClasses(DEPLOYMENT_NAME);
ejb.saveEntity(2);
Assert.assertEquals("2-name-address", ejb.getEntityDesc(2));
}