Enrollment No: 236490316104
SIR BHAVUBHAI PATEL INSTITUTE OF TECHNOLOGY, BHAVNAGAR UNIVERSITY
SUMMER INTERNSHIP-II REPORT
On
JAVA CHAT APPLICATION SYSTEM
Submitted by:
Makwana Arunbhai Rameshbhai
Enrollment No: 236490316104
Guided by:
Mr. Nitinbhai Sarvaiya
Enrollment No: 236490316104
Certificate
This is to certify that Makwana Arunbhai Rameshbhai of Sir Bhavubhai Patel Institute of
Technology, Bhavnagar University, has successfully completed the project titled 'Java Chat
Application System' under my guidance during the Summer Internship-II.
Faculty Guide:
Mr. Nitinbhai Sarvaiya
(Sir BPTI, Bhavnagar)
Enrollment No: 236490316104
Acknowledgement
I would like to express my deep gratitude to my project guide Mr. Nitinbhai Sarvaiya for his
valuable guidance, advice, and encouragement throughout the project. I also thank the
faculty members of Sir BPTI Bhavnagar for their continuous support. Finally, I extend my
thanks to my friends and family for their motivation and cooperation during this project.
Enrollment No: 236490316104
Abstract
This project aims to develop a simple and effective chat application using Java Swing and
Socket programming. The main objective of this project is to enable real-time
communication between a client and a server using core Java concepts. The system provides
a graphical interface for users to send and receive messages instantly. It is lightweight,
efficient, and suitable for LAN-based communication.
Enrollment No: 236490316104
Introduction
The Java Chat Application System is designed to enable users to communicate with each
other through a client-server architecture. It uses sockets for connection establishment and
message transfer. Java Swing is used to provide the graphical user interface for both client
and server.
Enrollment No: 236490316104
Objective of Project
The main objectives are:
- To understand client-server communication in Java.
- To implement socket-based programming.
- To design a GUI using Java Swing.
- To provide instant message exchange between users.
Enrollment No: 236490316104
System Requirements
Hardware Requirements:
- Minimum 2 GB RAM
- Pentium i3 Processor or above
Software Requirements:
- Windows OS or Linux
- JDK 8 or higher
- NetBeans IDE / Eclipse
Enrollment No: 236490316104
System Design
The system design includes two main components: Client and Server. The server listens for
incoming client connections, and the client connects to the server for communication. Once
connected, both can exchange text messages in real time.
Enrollment No: 236490316104
System Implementation
The chat system is implemented using Java Socket and Swing packages. The server uses
ServerSocket class to accept incoming connections, while clients use Socket class to connect
to the server. The user interface is created using JFrame, JTextArea, JTextField, and JButton
components.
Enrollment No: 236490316104
Testing and Result
The system was tested on a LAN network with multiple clients connected to a single server.
The application successfully enabled real-time message transfer without noticeable delay.
Enrollment No: 236490316104
Conclusion
This project provided valuable insights into networking and GUI development in Java. It
helped in understanding how socket programming can be used for real-time
communication applications.
Enrollment No: 236490316104
Future Scope
In future, the system can be improved by adding features like user authentication, file
transfer, group chat, and encrypted communication.