Assignments
Links
Schedule
Syllabus

Assignment 3: Remote Objects

Complete steps 4 and 6 from the previous assignment:

  • manually create a sample stub and implementation object,
  • and instantiate a sample stub as a remote interface to the sample implementation.
Create an arithmetic remote object that can add and multiply pairs of integers, sending the result back to the invoker. Make sure that your object server is multi-threaded.

Grading

  • D: Your code must compile.
  • C: All of the above, plus your code must be able to remotely perform addition and multiplication returning the result back to the remote client.
  • B: All of the above, plus:
    • Your code must be cleanly documented and tested. It is your responsibility to create a test suite and submit its output.
    • Your program must be multi-threaded and thread-safe. Demonstrate the safety!
  • A: All of the above, plus
    • Your code must be cleanly written using class-member constants where appropriate and class methods.
    • Measure the throughput of requests per second that your registry can handle. How much time elapses during service lookup?
    • Demonstrate that multiple clients can simultaneously connect to the object server. How does this affect the performance?