String id = System.console().readLine();
System.out.print( "Enter new name: " );
String name = System.console().readLine();
StatelessSession slsb = getStatelessSessionBean();
String server = slsb.getServer();
slsb.replacePerson( Long.valueOf( id ), name );
System.out.println( "Changed person name on server " + server );
}
private void listPersons() throws NamingException {
StatelessSession slsb = getStatelessSessionBean();