Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a JAVA program with the pictures of the output which the aim of this term project is to develop a chat server that allows

write a JAVA program with the pictures of the output which 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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions