Building the server classes

The next step is to build the server classes. We have one server class called CalculateEngine that implements the Calculate remote interface:

  • For Microsoft Windows:
     cd C:DistributedComputingWorkspacesrc
javac -cp C:DistributedComputingWorkspaceclassescalculate.jar
remoteCalculateEngine.java
  • For Solaris OS or Linux:
    cd /home/distributedcomputing/workspace/src
javac -cp
/home/distributedcomputing/workspace/classes/calculate.jar
remote/CalculateEngine.java
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset