h1

Case 5 – Threading

Think-Design-Write Test-Code

Requests from two clients being handled at the same time by one server

Requests from two clients being handled at once by one server

  • Description

Having completed your single threaded client and server, see Case 4, you realize that the only way that two clients can connect to the server and send messages to each other is if the server can accept connections from more than one client at a time.

You meet with your boss and she states that the job of making the server multithreaded has not yet been assigned out since that work depended on the success of your work to store and retrieve the messages themselves.

You are excited about doing this new bit of work.  What would you do to see if you could be assigned this new work?  Remember that there are several more experienced developers and engineers on your team.

  • Deliverables
    1. UML state diagrams for your client and server solution
    2. UML sequence diagrams for both your client and server solution
    3. A UML class diagram for your client and server solution
    4. A working client and  multithreaded server
    5. An assessment case
    6. A presentation of your teams solution to the problem
  • Resources
    1. Threading example
    2. Java API: Thread, Runnable
    3. Visual Paradigm

Leave a Comment