disp = new Dispatcher( (short) 1); serv = new TestService(); disp.addService(serv, Dispatcher.PROCESS_COMMAND); register();
new Main();
disp.process(apdu);