Windows NT Systems Programming: Spring 2000

[ Home | Syllabus | Course Notes | Assignments | Search]


Assignment 3: Student Record Multi-Client Server

Description: You will modify the student records program (ex16b) so that the student record list is kept on a server. The client will have the same user interface as Ex16b, but will store and retrieve student records from the server. This server can be accessed by multiple clients simultaneously. Therefore you need to be concerned about potential synchronization conflicts.

You can work on this project in a team of 2 if you choose. The requirements for a team project are different in that the server is required to have a user interface (see details below).

Due: March 24new_tiny.gif (144 bytes) (Friday).

FUNCTIONAL REQUIREMENTS:

  1. Client program should have the same interface as Ex16b. (which means that file save/open is NOT enabled even though it is there in the menu).
  2. Server keeps the student record list NOT the document object in the client. The document object needs to keep at most one student record.
    The document object will therefore be more like that in EX16a, although it needs to be able to communicate with the server to save/retrieve student records.
  3. Server must handle multiple clients simultaneously.
  4. Synchronization is to be handled as follows.

    The following rules are intended to avoid the multiple readers/writers problem and thus simplify synchronization.

  5. The server must guarantee the integrity of the student record list using whatever synchronization you deem appropriate.
  6. Your server should display informational messages whenever a new client is connected/disconnected. It should display all client actions (insert record, delete, retrieve) with the name of the student involved.

IMPLEMENTATION (NON-FUNCTIONAL) REQUIREMENTS:

  1. Your server must start a new thread for each client.
  2. You should submit a testing report which describes the tests you used to convince yourself that the system was working and their results.

HINTS:

 


Additional Requirements for a Team Assignment


Copyright chris wild 1999/2000.
For problems or questions regarding this web contact [Dr. Wild].
Last updated: March 14, 2000.