Copyright (c) Qusay H. Mahmoud
38
Step 4: implement the server….
lWait for invocations from clients:
l
ljava.lang.Object sync = new java.lang.Object();
lsynchronized(sync) {
l    sync.wait();
l}
l
l