purse = new PurseImpl(); disp = new Dispatcher( (short) 1); serv = new RMIService(purse); disp.addService(serv, Dispatcher.PROCESS_COMMAND); register();
new PurseApplet();
disp.process(apdu);