public class Simulation { public static void main(String[] args) { ServerImplementation server = new ServerImplementation(); Server far = server; ClientImplementation one = new ClientImplementation("Larry"); one.setId(far.register(one)); one.setServer(far); ClientImplementation two = new ClientImplementation("Michael"); two.setId(far.register(two)); two.setServer(far); ClientImplementation three = new ClientImplementation("Toni"); three.setId(far.register(three)); three.setServer(far); } }