0% found this document useful (0 votes)
139 views7 pages

LAN-Based Chat Application Project

This document is a report for a Mini Project 1A on a Chat Application created by Prajyot Sogale, Pankaj Thankar, and Raj Waghamare. It was submitted to the Department of Information Technology Engineering at Vidyavardhini’s College of Engineering & Technology. The report describes the development of an enhanced education-based chat application with different chat rooms and a simple interface to allow educational institutions and organizations to communicate. It uses Java socket programming and creates a server to allow multiple users to chat simultaneously over a local area network.

Uploaded by

Prajyot
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
139 views7 pages

LAN-Based Chat Application Project

This document is a report for a Mini Project 1A on a Chat Application created by Prajyot Sogale, Pankaj Thankar, and Raj Waghamare. It was submitted to the Department of Information Technology Engineering at Vidyavardhini’s College of Engineering & Technology. The report describes the development of an enhanced education-based chat application with different chat rooms and a simple interface to allow educational institutions and organizations to communicate. It uses Java socket programming and creates a server to allow multiple users to chat simultaneously over a local area network.

Uploaded by

Prajyot
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

Mini Project 1A Report On

CHAT APPLICATION
By

PRAJYOT SOGALE
PANKAJ THANKAR
RAJ WAGHAMARE

Department of
Information Technology Engineering
Vidyavardhini’s College of Engineering & Technology

University of Mumbai

2022-2023
Vidyavardhini’s College of Engineering & Technology
Department of
Information Technology Engineering

CERTIFICATE

This is to certify that the following students

PRAJYOT SOGALE
PANKAJ THANKAR
RAJ WAGHAMARE

have submitted project synopsis entitled

CHAT APPLICATION
as a part of their project-work in partial fulfillment of III semester

S.E. INFORMATION TECHNOLOGY ENGINEERING

course during the academic year 2021-2022.

Internal Guide : Dr. Archana Ekbote ( )

Internal Examiner: ________________________ ( )

External Examiner: _________________________ ( )

_________________________ ___________________________
Dr. Thaksen Parvat HOD, INFT Dr. H. V. Vankudre Principal, VCET
CHAT APPLICATION
Prajyot Sogale
Pankaj Thankar Raj Waghamare
Department of Information Technology
Department of Information Technology Department of InformationTechnology
Vidyavardhini’s College of
Vidyavardhini’s College of Vidyavardhini’s College of
Engineering & Technology
Engineering & Technology Engineering & Technology
Vasai,India
Vasai,India Vasai,India
prajyot.212154105@[Link]
pankaj.212204103@[Link] raj.212244102@[Link]
Abstract— Communication is the way of exchanging or III. DETAIL DESCRIPTION
transferring information from one place to another by a person
or group of people. In other words, it is the sharing of
Enhanced Education based Chat Application based on
information or ideas by talking with each other or by writing Interested Keyword which is encrypted with Username and
or reading the information. It is basically the interaction Password based Security This paper states that, the
between the people. Communication plays a crucial role in applications are getting evolved according to the user need
human life and development of the society. Along with and convinience, it has become a necessity to make a chat
exchanging ideas and knowledge, it also helps in making a application that matches with the present crowd. This system
relationships with other people. The development of the is mainly developed to provide a chat room for all kind of
internet technologies had benefitted many people to access to educationalist, institutions and organizations by offering
the web easily and conveniently. Nowadays, more and more them a platform to chat and solve study related queries .
services are getting digitalised and all of this can be virtualise Design of Chatting Application Based on LAN Server This
thank to the internet. Communication on internet has becomes paper proposes a method of sending and receiving text
part of our daily life. People used to communicate with each messages using the server room connection. Since this
other by using the online chat system services to send their technology consumes low cost and power, they incorporated
messages. Traditionally, when internet was not very popular, if a system that enables to the user to the chat with each other
people need to communicate with others they will have a face over a server room connection. Simple Interface This paper
to face conversation to deliver their message, same goes to the
states that the project interface is so simple and easy, and any
fields like education. It is strongly recommended that the
student should take the advice of the teacher when they face
novice person can use it. And send and receive the message
any difficulty. Mostly it happens when the assignment due date instantly with no effort. Different Chat Rooms We have
or the exam are in the [Link] in an organisation added upto 8 rooms so that the user can use it according to
communication is a very basic thing and plays a very critical in his/her requirement.
the organisation. And the email system is not very convenient.
Therefore, we have the above issue by using a chat application
which runs in LAN server.
IV. FEATURES OF THE PROJECT
To assist the employees in reducing the effort and
making the communication faster. To increase the
I. INTRODUCTION productivity of the overall organisation and reaching the
The purpose of Online Chat Application is to automate faster growth. This project can play an crucial role in
the existing manual system by the use of electronic organizational field where employees can connect through
equipments and completely developed computer software, LAN. To develop an instant messaging solution to enable
fulfilling their needs and requirements of everyone , so that user to effortlessly communicate with each other. The
their valuable data and information can be stored for a very project should be very easy to use ,so that even a novice
long time with easy accessing and manipulating the same. person can use it. It satisfy the user requirement The
The software requirements and hardware requirements are program is very to understand by the user and operator The
minimum and can easily work in any [Link] program is very easy to operate The program is has a good
Application, as described above, can lead to error free, user interface Our project aims at Business process
secure, reliable and fast management system. It can help the automation, i.e. we have tried to computerize various
user to concentrate on other activities rather to concentrate processes through the Chat Application.
on the record keeping. Thus it will help many organizations
in better utilization of their resources. The organizations can
maintain electronic records without redundant entries. This
means that the user need not be distracted by any irrelevant V. APPROACH TOWARDS THE IDEA
data, while accessing the relevant information. The aim is to Initially we looked for details about the Chat
improve the existing manual system by the use of electronic Application on Google where we found data about this
equipments and completely developed computer software, particular field. Also, a need for the same was clarified
fulfilling their needs and requirements of everyone , so that through the Sites. Later, we also talked with an experienced
their valuable data and information can be stored for a very
person who told us to work on considering that a person
long time with easy accessing and manipulating the
[Link] the project give better service and facility to having more than one email should not be able to register
the clients. twice as it would be unfair.

II. PROBLEM STATEMENT VI. Methodology


This project is to create a chat application with a server and Java Socket Programming is used for communication
users to allow users to chat with each other. between the programs running on different Java Runtime
To develop an instant messaging solution that allows users to Environment . A socket is one end of a two-way
communicate seamlessly with each other. The project should communication link between two applications running on
be very easy to use, allowing even an inexperienced person the network. The socket class is used to create a connection.
to use it. The Server class starts the server, listening on a specific
port. When a new user gets connected , an instance of
userthread is created to serve that clientserver. Since each
connection is processed in a separate thread, the server is
able to handle multiple users at the same time. Server :
There are two types of sockets that the server uses to
communicate with the client Serversocket: This is a class
which is use by the server to declare the server socket object
from which the server will able to listen to the c onnecting
which is requested form the client. Socket: Is is a class
which is used by the server to declare a socket object. The
server will use it to send and receive the data from the
client. Threads : A thread is the flow of execution of a
program. The JVM(Java Virtual Machine) allows the
application to run multiple threads simultaneously. Every
thread has a priority. Threads which has more priority are
executed first and then with the lower priority. Swing : It is
a light weight Graphical User Interface ( GUI ). Which
allows programmers to create applications.

[Link] Diagram

VIII. Result and discussion


The software is made by using client server architecture.
Which more convenient to use in many organisational
fields. Because it uses the LAN server and data is stored in
that server itself. So, this application will provide more
privacy and no information will be leaked. And the cherry
on the cake is this will be more faster way of
communication.
IX. CONCLUSION
Chat is a very common application used by users. End users
use instant messaging services to communicate with other
individual users. In our project, we have provided many
features for our chat application. In addition to chat, features
like emoji can be fun and interactive for the average user.
There are a number of different rooms that users can choose
from accordingly. It opens up a wide range of uses for
people. Chat apps are designed to help people have a better
chat experience. It has the potential to inspire more and
more users to interact and connect.
REFERENCES

[1] [Link]
in-java/
[2] [Link]
[3] [Link]
run_java_guis.htm#:~:text=In%20Java%20applications
%2C%20the%20components,GUI%20forms%20can
%20be%20built
[4] [Link]
[5] [Link]
socket-programming-anudeep-nalla
[6] [Link]
chat-application-using-sockets-in-java/

Common questions

Powered by AI

The primary communication challenge that the chat application aims to resolve is the inefficiency and inconvenience attributed to traditional email systems and face-to-face discussions, especially in organizational settings. To address this, the interface is designed to be incredibly simple and user-friendly, ensuring that even users with minimal technical knowledge can send and receive messages effortlessly. This ease of use encourages broader adoption and integration into daily organizational communication practices, facilitating faster and clearer exchanges of information .

The use of LAN server connections in the chat application's architecture is significant due to several advantages. First, it provides enhanced security and privacy of the communication, as data is stored and transferred within a closed network, reducing exposure to external threats. This setup is also cost-effective and consumes less power compared to wide-area networks. It ensures faster data transfer rates and low latency, crucial for real-time communication, and supports organizational settings by keeping communication channels internal and accessible only to authorized users .

The chat application addresses specific challenges in the educational sector, including the need for efficient communication channels for real-time collaboration between students, teachers, and educational staff. By providing a secure and private platform, the application facilitates immediate exchange of information, supports remote learning environments, and enables easy resolution of study-related queries. Its potential impact includes enhancing learning experiences, improving access to educational resources, and promoting active participation among educational stakeholders, ultimately contributing to more effective and collaborative educational processes .

The project provides a specialized chat room environment aimed at educational institutions, facilitating seamless communication among educators, students, and administrative staff. Specific features include the ability to create different chat rooms to categorize conversations by subject or topic, thereby enhancing organized discussions. Additionally, security is ensured through encrypted usernames and passwords, making it a safe platform for exchanging educational information and resolving study-related queries .

Potential security concerns of using a chat application in an organization include data breaches, unauthorized access, and information leaks. The chat application design addresses these issues by implementing LAN server connections, which limit exposure to external threats and keep data within the organizational network. Additionally, user authentication via encrypted usernames and passwords further strengthens security by ensuring that only authorized personnel access the system. This dual layer of security maintains the confidentiality and integrity of the communication, mitigating common vulnerabilities found in open internet communications .

Introducing a chat application offers several benefits over traditional email systems: it facilitates faster and more direct communication, reducing the need for lengthy email exchanges and helping to increase productivity by simplifying intra-organizational interactions. The chat system can hold multiple users in real-time conversations, which is not inherently supported by emails. Moreover, chat applications provide an easier and more user-friendly interface that even novices can navigate effortlessly, allowing for quicker adaptation and enhanced communication flow within the organization .

The integration of a graphical user interface (GUI) plays a crucial role in the functionality of the chat application by providing a visually intuitive and interactive platform for users to engage with the application. Swing is utilized as the GUI framework due to its lightweight nature and flexibility in Java applications. Swing allows for the creation of customizable and component-rich interfaces, enhancing user interaction with features and improving the overall ease of use. This contributes to a seamless user experience, particularly important for novices or those unfamiliar with more complex communication tools .

The chat application uses Java socket programming to establish communication between client and server applications. Each client interaction is managed through a distinct thread, allowing the application to handle multiple concurrent connections efficiently. The server utilizes two types of socket classes: 'Serversocket', to listen for incoming client requests, and 'Socket', to send and receive data from clients. Upon a user's connection, a dedicated user thread is instantiated to manage that specific connection, enabling simultaneous communication with multiple users seamlessly .

Using user threads in the server architecture of the chat application is significant because it allows the server to manage multiple client connections concurrently. Each connection is handled by a separate thread, enabling the server to process multiple interactions simultaneously without one blocking the others. This multithreading approach significantly influences the application's performance by improving responsiveness and ensuring seamless interaction among users, increasing the application's scalability and reliability in handling numerous concurrent sessions .

The introduction of multiple chat rooms in the chat application enhances user experience by allowing users to organize conversations into specific categories or topics. This organization reduces the clutter in communication, enabling users to quickly find and participate in relevant discussions, thereby improving overall productivity. The availability of up to eight separate rooms allows for a customized experience where users can engage in different areas simultaneously, fostering a more interactive and focused communication environment .

You might also like