9899100101102103104105106107108
exporter.export(service); //make a blocking call on the server Thread t = new Thread(new Runnable() { public void run(){ try { stub.doSomethingLong(); } catch (RemoteException e) { e.printStackTrace(); } } });
100101102103104105106107108109110