Archived
This forum has been archived. Please start a new discussion on GitHub.
Documentation:Writing a ice application with Java
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
-
Re: Documentation:Writing a ice application with JavaOriginally posted by dipakyadav
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.
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!
I guess the same is true for the C++ client example.
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.0