06-04-2011, 09:42 AM
[attachment=11751]
Distributed Systems HW2
The goal of this assignment is to help student to develop distributed applications using RMI-Java model.
Description :
You should implement client-server application that allows the management of occasion cars in a Dealer. The client application should allow the registration of a new cars and the sales receipt. The information should be transmitted to server using Car and Receipt objects. The server subscribes each new data in a text file (cars.dat, receipts.dat) or database. This file or database is downloaded when we start up the system and read these files/information. The client will do the request to show the information of cars based on serial number or mark. We can show the receipt using ID or vendor name. The request will be forwarded to the server that sends the required information back to client.
Idea: the use of collection classes: HahMap, Hashset, Vector, Hashtable, etc. is recommended in server side.
The use of window JFrame is not an obligation, the job can be done using console :
The client and the server should communicate based on the following schema:
The programs should be realized in Java in Windows or Linux/Unix environment.
Deliverables:
• Complete source code
• An execution trace
• Description of project
I prefer to receive the job by email using compressed file. Please test this homework before sending it to me.
Evaluation Mode:
• Operation : 70%
• Style of programming 10%
• Description (max. 2 pages) : 10%
• An execution trace (screen or files) : 10%