Server Implementation
public class ChatServerImpl extends UnicastRemoteObject implements ChatServer{ private Vector chatters = new Vector(); public ChatServerImpl() throws RE { . . . } public void register(Chat c, String name) { chatters.addElement ( . . . c . . . .); } public String[ ] listChatters ( ) { . . . } public void postMessage ( Message m) { … c.chatNotify(Message m) …} public static void main(String[ ] args) {// set security manager, bind registry . . .}}