Question: Write a java code, make sure to run the code and post the output of the program The aim of this term project is to

Write a java code, make sure to run the code and post the output of the program

Write a java code, make sure to run the code and post

The aim of this term project is to develop a chat server that allows clients to send text message to each other at the same time. In this project, you should implement two java apps one for the server and one for the client. The scenario is as follows. Each client will connect to the chat server with a username and a passwords. Usernames and passwords will be stored on the server side in a text file. If the authentication is correct, the user will be added to on-line user list on the server. When the user logs outs from the system, the server should remove the username from the connected users list. Once the user is connected to the server, they will receive the list of connected users. Each time the online user list is changed on the server, the clients will update their list automatically. More than one client can be connected to the server at the same time. A client user will select a username and send a text message to other users. Text message will send to the server from the client, and the server will forward the message to the destination. Also, the server should keep the log of all messages in a text file, with username, text and date-time

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!