photoStorage = new PhotoCardImpl(); disp = new Dispatcher( (short) 1); serv = new RMIService(photoStorage); disp.addService(serv, Dispatcher.PROCESS_COMMAND); register();
new PhotoCardApplet();
disp.process(apdu);