Self-Test Questions


Suggested Projects

  1. RMI Programming:   Given the following remote interface definition implement the interface and write the client and server applications using the steps described in this chapter. You may start the registry programmatically as I did in my example or experiment with starting it externally using the rmiregistry command.

     1     import java.rmi.*; 2 3     interface RemoteCalculatorInterface extends Remote { 4        public double add(double a, double b)     throws RemoteException; 5        public double sub(double minuend, double subtrahend) throws RemoteException; 6        public double div(double dividend, double divisor) throws RemoteException; 7        public double mul(double multiplier, double multiplicand) throws RemoteException; 8     } 




Java For Artists(c) The Art, Philosophy, and Science of Object-Oriented Programming
Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504052
EAN: 2147483647
Year: 2007
Pages: 452

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net