Answered step by step
Verified Expert Solution
Question
1 Approved Answer
userList.txt [ it ' s saved in the middle server machine ] 2 ) Topic ADVANCED OPERATING SYSTEM 3 ) Total Word Limit Due Date
userList.txt its saved in the middle server machine Topic ADVANCED OPERATING SYSTEM Total Word Limit Due Date of AssignmentAccording to IndiaNA Due TimeAccording to India MON PM Objective The objective of this first programming project is to learn Interprocess communication through TCP iterative client, TCP concurrent middleserver, and UDP iterative clientserver interaction using socket interface in Java programming language. After completing the project, you will have a basicintermediate understanding of the steps required to develop a distributed application. Project Specification In this programming project, you are required to implement a distributed groupbased shopping system involving TCP and UDP protocols in Java language. The sender process takes the userentered TCPGroup server" IP and port from using the keyboard. Next, it sends login credentials along with current member credit points to the TCPGroup server. The TCPgroup server displays the message and verifies the credentials. If it is correct then the member's credit point is updated and a success message is sent back to the client. The TCPGroup server is a concurrent server. Upon successful login the Group server communicates with a dedicated SilverGoldPlatinum server to conduct the shopping process. The entire process diagram and more specific project description are given below: Detail specifications: The sender process establishes a TCP connection with the middle server. Your sender program needs to take at least two arguments that specify the IP address and port number of the Middle server that it will try to connect. After a successful connection, your sender program will first prompt a welcome message that asks the user to key in a username and password keyboard This credential will then be sent to the middle server. After receiving the username & pwd from your sender your middle server will send an acknowledgment message back to the sender You have to use last digits of your studentid number to avoid requesting the same port by multiple students. The group server gets the middle server port number Your middle server process is responsible for verifying the user authentication and the group server details based on points. Upon valid credentials, the middle server will connect the client with a proper group server. Group servers have their own item list with item price and quantity. The client will receive the list from the group server and purchase items based on available credit points. After shopping, credit points remaining will be updated along with item quantities. userListtxt its saved in the middle server machine Finally when the shopping is over and the client wants to terminate, the client process will send a CLOSE message to the proper group server. On receipt of a CLOSE message, the group server process should terminate itself gracefully.
userList.txt its saved in the middle server machine Topic ADVANCED OPERATING SYSTEM
Total Word Limit Due Date of AssignmentAccording to IndiaNA
Due TimeAccording to India MON PM
Objective
The objective of this first programming project is to learn Interprocess communication through TCP iterative client, TCP concurrent middleserver, and UDP iterative clientserver interaction using socket interface in Java programming language. After completing the project, you will have a basicintermediate understanding of the steps required to develop a distributed application.
Project Specification
In this programming project, you are required to implement a distributed groupbased shopping system involving TCP and UDP protocols in Java language. The sender process takes the userentered
TCPGroup server" IP and port from using the keyboard. Next, it sends login credentials along with current member credit points to the TCPGroup server. The TCPgroup server displays the message and verifies the credentials. If it is correct then the member's credit point is updated and a success message is sent back to the client. The TCPGroup server is a concurrent server. Upon successful login the Group server communicates with a dedicated SilverGoldPlatinum server to conduct the shopping process. The entire process diagram and more specific project description are given below:
Detail specifications:
The sender process establishes a TCP connection with the middle server. Your sender program needs to take at least two arguments that specify the IP address and port number of the Middle server that it will try to connect.
After a successful connection, your sender program will first prompt a welcome message that asks the user to key in a username and password keyboard This credential will then be sent to the middle server. After receiving the username & pwd from your sender your middle server will send an acknowledgment message back to the sender
You have to use last digits of your studentid number to avoid requesting the same port by multiple students. The group server gets the middle server port number
Your middle server process is responsible for verifying the user authentication and the group server details based on points.
Upon valid credentials, the middle server will connect the client with a proper group server.
Group servers have their own item list with item price and quantity. The client will receive the list from the group server and purchase items based on available credit points.
After shopping, credit points remaining will be updated along with item quantities.
userListtxt its saved in the middle server machine
Finally when the shopping is over and the client wants to terminate, the client process will send a CLOSE message to the proper group server. On receipt of a CLOSE message, the group server process should terminate itself gracefully.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started