h1

Case 4 – Client-Server Computing

Think-Design-Write Test-Code

The command-response relationship for a client and a server.

The command-response relationship for a client and a server.

  • Description

Because you have done well your manager has assigned you permanently to work on the PRChat application team.  Your team mates congratulate you and introduce you around.  Shekar is the team lead.  He assigns you to design and develop the data passing from the client to the server and the server to the client.

The requirements document says that this portion of  the client/server relationship needs to be able to send a message to the server and store it.  It also says that when the client starts up the user needs to login and received back all of the messages for that person that have been stored.

It also states that the client must be able to send multiple messages without reconnecting to the server once it is connected until a logout message is sent.

  • Deliverables
    1. A UML use case for your solution
    2. A UML detailed use case for your solution
    3. A UML class diagram for your solution
    4. A UML State Diagram for the client and the server
    5. A working client and server
    6. A similar case including
    7. A presentation of your teams solution to the problem
  • Resources
    1. sockets and the Knock Knock Server
    2. UML State Diagrams
    3. UML Use Case Diagrams
    4. UML Sequence Diagrams
    5. Diagram Descriptions
      Document Type Description Level of Detail
      Use Case Diagram What can the user do? low
      Detailed Use Case Description How does the user do it? medium
      State Diagram How does the system change as the user uses it? low
      Sequence Diagram What objects, methods, and parameters does the system need to do it? high
    6. An example of a use case diagram for a bathroom shower

      An example of a use case diagram for a bathroom shower

    7. A state diagram showing the iterative nature of washing hair

      A state diagram showing the iterative nature of washing hair

    8. A State diagram showing detailed actions within each state

      A State diagram showing detailed actions within each state

    9. An example of an iterative sequence diagram.

      An example of an iterative sequence diagram.

    10. detailed use case description template
    11. Java API: Socket, ServerSocket, PrintWriter, BufferedReader,InputStreamReader, InputStream, OutputStream, Class
    12. Visual Paradigm

Leave a Comment