Complete Lab 3 –Rental Car Client/Server. A complete set of instructions can be found in the Lab Overview under Week 3.
Submit your lab.
------------------
This week’s assignment is to design and build a rental car management system using TCP and appropriate data streams. This is a multipart assignment. In the last phase of this assignment, you will have the opportunity to add threads and synchronization to this application. The application will be a rental car inventory management system. Cars can be added to the pool of cars available to rent. A car can be rented, and a car can be returned after rental. Any employee at the rental agency can do any one of these operations. More than one employee is expected to be performing these operations at the same time, so access to the information about the car inventory will need to be synchronized (when threads are added).
Required data per vehicle:
ID number which uniquely identifies it (i.e., VIN).
Year / Make / Model info (i.e., 2004 Toyota Camry)
Rental Type – Truck, Luxury Car, Mid-size Car, Compact Car
Mileage at Last Check-out or Check-in
Rental Status: Available, Rented
Renter’s Name and Driver’s License Number