Question: Prgram a server in Java or C. Sequence diagram attached as an example. Thank you. Program server for tracking stockroom inventory. There are 100 items
Prgram a server in Java or C. Sequence diagram attached as an example. Thank you.


Program server for tracking stockroom inventory. There are 100 items at the beginning. Sales distributors by using Telnet connection can see quantity of items and can reduce such quantity. Maximum 8 distributors could access the server at the same time. Client 3 Client2 Client Server Connection to server We have in stock 100 items Can I have 30? Ok Connection to server 1 We have in stock 70 items Connection to server We have in stock 70 items Can I have 50? ok 1 ok: Message (Server -> Client 3) Can i have 40? Sorry only 20 available 1 Can I have 20 ? Ok 1 Program server for tracking stockroom inventory. There are 100 items at the beginning. Sales distributors by using Telnet connection can see quantity of items and can reduce such quantity. Maximum 8 distributors could access the server at the same time. Client 3 Client2 Client Server Connection to server We have in stock 100 items Can I have 30? Ok Connection to server 1 We have in stock 70 items Connection to server We have in stock 70 items Can I have 50? ok 1 ok: Message (Server -> Client 3) Can i have 40? Sorry only 20 available 1 Can I have 20 ? Ok 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
