This assignment lets you practice RMI in Java and includes concepts such as Networking, RMI, and Serialization.
Give a solution to the following problem (RMI System for car registration):
A Car object is described by model, color, mileage, and plate. All the values are given, except plate which is undefined.
The plate value is calculated by the RMI server. The server algorithm for calculating the car plate is simple: the server invokes hashCode() for the Car object.
The client must print Car object and send it to the server for car registration. Once the car is registered, the client must print the Car object again, this time with its assigned plate number.
Hints: You can assume that the client and server run on the local machine.
Marking Criteria and Tasks:
Please note that you should:
a- have appropriate indentation. b- have proper file structures and modularization. c- follow Java naming conventions. d- document all the classes properly. e- not have debug/useless code and/or file(s) left in assignment.
f- have good intra and/or inter class designs.
in your code!
- Task: Developing and running the desired solution
Reviews
There are no reviews yet.