0% found this document useful (0 votes)
14 views2 pages

Chat Application in Java: Synopsis Title

The document describes a Java chat application that allows multiple clients to connect to a server and chat with each other. The application uses TCP sockets for communication and contains server and client modules that create threads to read from and write to sockets.

Uploaded by

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

Chat Application in Java: Synopsis Title

The document describes a Java chat application that allows multiple clients to connect to a server and chat with each other. The application uses TCP sockets for communication and contains server and client modules that create threads to read from and write to sockets.

Uploaded by

aadi1988
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Synopsis

Title: Chat application in Java


The Java Chat application you are going to build is a console application that is
launched from the command line. The server and clients can run on different
computers in the same network, e.g. Local Area Network (LAN).

There can be multiple clients connect to a server and they can chat to each
other, just like in a chat room where everyone can see other users’ messages.
There’s no private chat between two users, for simplicity. Here we are
developing a console based (no GUI for this application) chat application in Java

It uses TCP socket communication .We have a server as well as a client. Both can be run in
the same machine or different machines. If both are running in the machine, the address to
be given at the client side is local host address. If both are running in different machines,
then in the client side we need to specify the ip address of machine in which server
application is running.

Modules:

This application contains two different modules.

 Server Module: The ChatSocketServer.java is the server application. It


simply creates  a server Socket on port 3339.Once a new connection comes , it
accepts that connection and Socket object will be created for that connection. Now
two threads will be created .One thread is for reading from the socket and the other
is writing to socket. If the connection is terminated from client side , the server also
exits.
 Client Module: The ChatSocketClient.java simply creates socket connection with
the specified address on port 3339.Once a connection is established, two threads are
creating. One for reading from the socket and other for writing to socket. Once the
server disconnects the connection, the client exists itself.

Features:

Listed below are the key features of Chat Application System:


 Programming language: The proposed project has been coded in
Java programming language.
 Platform Independent: The system is fully platform independent
because it is developed in java.
 Flexibility: The project has been designed in such a way that new
features and modules can be added into the system in future as per
user requirements.
 Open Source: In this system, the user doesn’t need to pay any
amount; they can use as free.

System Requirements:

1. Hardware Specifications:

 Hardware     : Pentium-based systems with a minimum of P4


 RAM              : 256MB (minimum)
 Keyboard, Mouse, Monitor

2. Software Specifications:

 Operating System                 : Windows


 Technology                           : Core javaWeb
 IDE                                      : Net beans
 Software                              : J2SDK14.0.2

You might also like