Documentation:Writing a ice application with Java

in Bug Reports
This is an excerpt from the documentation page 48
Somehow this gives the wrong impression that a client needs to be aware of the Server implementation. PrinterI.java should be removed.
I guess the same is true for the C++ client example.
Compiling the client looks much the same as for the server:
$ javac -d classes -classpath classes:$ICEJ_HOME/lib -source 1.4 \
Client.java PrinterI.java generated/*.java
Somehow this gives the wrong impression that a client needs to be aware of the Server implementation. PrinterI.java should be removed.
I guess the same is true for the C++ client example.
0
Comments
Right, PrinterI.java is redundant and need not appear there. I've fixed that for the next version of the book, thanks for pointing it out!
No, the C++ client doesn't have that problem. Only Printer.cpp (which is the generated code) and Client.cpp are compiled there, which is the minimum.
Cheers,
Michi.