SecurityService sec = new MySecurityService();
Purse purse = new SecurePurseImpl(sec);
RemoteService rmi = new RMIService(purse);
disp = new Dispatcher( (short) 4);
disp.addService(sec, Dispatcher.PROCESS_INPUT_DATA);
disp.addService(sec, Dispatcher.PROCESS_COMMAND);
disp.addService(rmi, Dispatcher.PROCESS_COMMAND);
disp.addService(sec, Dispatcher.PROCESS_OUTPUT_DATA);
register();