GROUP CHATTING APPLICATION PROJECT
The "Group Chatting Application" is a Desktop-Based application and it is a Networking project. I have made this project using Java using the concept of Socket programming. To make a chat session using socket programming, we used the "Socket" class of Java to implement a TCP socket connection between the Chat Server and the Chat Client.
The project is developed using JAVA SWING.
WHAT IS SOCKET PROGRAMMING?
NOTE: (Click Me to check all the available projects)
Now let's take a look at Project.
- For running the project, first we should start the server. So, Firstly we will run the ServerStart java file. And we will be able to see the below interface.
- Here, for starting the server we have to provide the PORT NUMBER. And that field is validated. After pressing the start button our server will start on that port number.
- Now, Let's start Client. After executing Client File we will be able to see the below interface.
- Here, for starting the Client we have to provide the NAME you want to chat as, And very importantly we have to provide the same Port Number as in Server and the Client's IP Address. Then after pressing the START button our client will run and we will be able to see the below interface.
- The duplicate client Java files, when deployed to another computer then also we can open the same interface. But the thing is we have to provide the same PORT NUMBER as in the server and its Client IP address.
In a similar manner, we can open multiple Clients on the same computer or even on different computers.
- So after starting the multiple clients on the same computer, we can see the below interface.
- Here four clients are connected. Now let's chat. And will be able to see the below interface.
- After chatting, now let's disconnect the clients. So whenever we press the back button(<--). we will be able to see the below interface.
- And if we press YES our Client will get Disconnect.
- Now as we can see our Left most clients got disconnected.
Other practical projects using React & Spring Boot
I will give you the full project SOURCE CODE and I will do a COMPLETE SET-UP of the project on your PC or Laptop remotely.
Or You can simply Request for the Project Source Code & Set Up by clicking on the below button.
MAIL ME AT codewithmurad@gmail.com
DM ME ON INSTAGRAM at @codewithmurad
DM ME ON FACEBOOK at @codewithmurad
DM ME ON TELEGRAM at @codewithmurad
Connect on My Discord Server: CLICK HERE
0 Comments