Up Previous Next

Now if we compile:
javac *.java
Then invoke the rmi compiler on the two classes:
rmic -classpath . NetworkServer NetworkClient
Then start the server:
java -Djava.security.policy=java.policy NetworkServer 18267
And we start creating clients, one at a time:
java NetworkClient 127.0.0.1 18267 Larry
Then we obtain the same thing:
When we discuss the structure we should emphasize the approach here is a bit different.

So we don't promote one style only; we demonstrate a variety of approaches.

One should use what one finds most convenient; we think the reader can come up with own aproaches too.


Up Previous Next