//create a RemotingRequest to invoke the remote AddressBook
RemotingRequest request = new RemotingRequest( AddressBook.class.getName(), "addEntry", new Object[] {
"Jimmy Who", address } );
//add Jimmys address
System.out.println("adding Jimmys address...");
client.execute( request );
// create an address object for Jane Who
address.setStreetNum( 21 );
address.setStreetName( "Peachtree Avenue" );
address.setCity( "Atlanta" );