Standalone Chatting Application
Standalone Chatting Application
Standalone Chatting Application
Bachelor in Technology
Submitted by:
Taranjot Singh (1803298)
Submitted to:
Ms.Astha Gupta
1. Abstract 3
Introduction 4
2.
Main Objective 5
3.
4. Requirements 6
Software Interfaces 6
5.
Operational Concepts and Scenarios 7
6.
Project Scope 7
7.
Future Work 11
8.
Conclusion 12
9.
List of Figures
Abstract
Teleconferencing or chatting refers to any kind of communication that offers a real-time transmission
of messages from sender to the receiver. Chatting is a method of using technology to bring people and
ideas together despite the geographical barriers. The technology to provide the chatting facility has
been available for years, but the acceptance is quite recent. Analysis of chatting provides an overview
of the technologies used, available features, functions, system of the architecture of the application,
the structure of database of an Instant Messaging application: IChat(IC). The objective of IC
application is to facilitate text messaging, group chatting option, data transfer without size restriction
which is commonly seen in most of the messaging applications.
INTRODUCTION
Chatting Application is a desktop based application.
This client server chat application is based on java swing and used socket package. its
simple and easy and require only core java knowledge. I have taken this program from
internet and modified a little bit to make it simpler and more elegant.
MAIN OBJECTIVE
The aim of this project is to express how we can implement a simple chat application
between a server and a client? The application is a desktop based application and is
implemented using Swing and awt. The project is developed in Java SE language
executed on a single stand-alone java across a network using loop back address
concept.
Server
Client
Server
The server module of the application waits for the client to connect to it. Then if
connection is granted a client interacts communicates and connects to the server, it
can mutually communicate with the server. The duty of the server is to let clients
exchange the messages.
Client
The client module is the one that utilizer sends requests to the server. Utilizer utilizes
the client as the means to connect to the server. Once he establishes the connection,
he can communicate to the connected server.
REQUIREMENTS
External Interface Requirements
User Interface
Software Interfaces
Programming Language :-
Java
Socket Programming
Project Scope
This project can be mainly divided into two modules:
1. Server
2. Client
This project is mainly depended on client/server model. The client requests the
server and server responses by granting the clients request. The proposed
system should provide both of the above features along with the followed ones:
Server
A server is a computer program that provides services to other computer
programs (and their users) in the same or other computers. The computer that a
server program runs in is also frequently referred to as a server. That machine
may be a dedicated server or used for other purposes as well. Example Server,
Database, Dedicated, Fileserver, Proxy Server, Web Server. The server is
always waiting for client’s requests. The client come and go down but the server
remains the same.
A server application normally listens to a specific port waiting for connection
requests from a client. When a connection request arrives, the client and the
server establish a dedicated connection over which they can communicate.
During the connection process, the client is assigned a local port number, and
binds a socket to it. The client talks to the server by writing to the socket and
gets information from the server by reading from it. Similarly, the server gets a
new local port number (it needs a new port number so that it can continue to
listen for connection requests on the original port). The server also binds a
socket to its local port and communicates with the client by reading from and
writing to it. The client and the server must agree on a protocol that is, they
must agree on the language of the information transferred back and forth
through the socket. Normally, a server runs on a specific computer and has a
socket that is bound to a specific port number. The server just waits, listening to
the socket for a client to make a connection request.
Figure 1
Client
On the client site the client knows the hostname of the machine on
which the server is running and the port number on which the server
is listening.
Figure 2
Future work
There is always a room for improvements in any
software package, however good and efficient it may be
done. But the most important thing should be flexible to
accept further modification. Right now we are just
dealing with text communication. In future this software
may be extended to include features such as:
Conclusion