Sie sind auf Seite 1von 12

A Project Synopsis


Chat Server and Client Application

Developed by
Student Name
(B.Tech IIIrd Year)
Mody Institute of Technology & Science

Guided By
Mr. Devesh Kumar Gupta
K.P.I. Pvt. Ltd., Jaipur


Chat Applet and server application

The aim of this project is to develop a Chat application using client server
architecture which relies on Socket programming provided by java .

there are many client (Geographically spread), at any time, these client can established
their connection to a centralized server and can share their ideas through this chat
application. One to one chat by using private chat is also provided in the developed chat
 Concept of broad cast and private chat.
 Concept of enable user and disable user .
 Concept view ,edit and delete user record.
 Transferring the text
 Designing UI by using AWT/SWING.

Scope / Functional Requirements: The complete system can be divided in

following modules:
1. User Management Module: This module has two sub modules
1. User Registration Module
2 User Validation Module
3. Change Password Module
2. Administration Module: register new user records.
Enable user and Disable User, view and edit and Delete user

3. Server Module: This module is used to enter server name (pc

name ) where server is running.

4. BroadCast ingChat Module: This module is used for chatting like

broadcasting and display his inbox and outbox and list of user.

5. Private Chat Module: : This module is used for private chatting and
display his inbox and outbox.
• Time Constraint: The project should be completed in all aspect
within 30 days.

Users of the System:

• Administrator: Administrator can register new user, enable and
disable user.
• Administrator can see the list of registered user and also view
user record and edit record and delete user record.
• Disabled user can not login.
• Administrator can search user record by this module.
• Administrator can send message all registered user .
• Administrator can be private chatting to particular user.

Chat User : Unregistered User can register by login module

• and after registered this user can login when enter valid
user name and password.
• User can change his password.
• message all registered user
• Administrator can be private chatting to particular user.
Requirement Analysis and Specification
The requirements can be discussed as follows:

 Functional Requirement:
The main function of project is to develop a chat applet and server application in a
client-server architecture, where a user can choose and chat room. Other than text
user should also be able to send some images for expressing emotions like smile etc.
During a chat session a user should be able to change his room. A user can use public
chat, in which the message sent by one of the user will be send to all the online users
of the same room. A user should be able to select another user for private chat just by
double-clicking on the user name in the list of online users.

 Interface Requirement:
It includes two types of interfacing as mentioned.
o Human interface: It includes interfacing with the users i.e. the users who
will be using this software. For human interfacing the front end
development should be user friendly.
It is achieved when all the buttons provided on client side shown tool tips
and having self-explanatory icons remain consistence throughout the
Appropriate help should be provided for the input of information to reduce
input errors.
o Non-human interface: It includes the client server structure. In a client
server model the client requests services and server provides them.

 Performance Requirements:
The response time between client and server should be minimum (a few
 Exception condition/Handling:
This includes the action to be taken for undesired conditions. Proper messages
should be displayed wherever needs for any unauthorized activity. No
duplicate person should be allowed to play with its databases. A message
displays for every event whether it was successful or not.

Java’s Networking protocol: TCP/IP:

Java’s view of networking means TCP/IP. TCP/IP stands for Transmission-Control

Protocol/ Internet Protocol, the two data communication protocols on which the Internet
relies for all its functionality. In practice however, TCP/IP stands for a whole collection
of related protocols, all based around TCP and IP.
IP: Whatever application protocol is used to implement some internet service, IP relies at
the heart of all Internet data communications. IP is a datagram protocol, which means that
transmitted packets of information (packets, for short) are not guaranteed to be delivered.
IP packets also do not form part of a stream of related packets; IP is a connectionless
protocol. Each IP packet travel on its own, like an individual letter in a postal network.
An IP packet can be a maximum of 64KB long.

Java’s networking API (Package

Java has very good features for TCP/IP based data transmission. Most of the classes used
for network based data transmission are available in package.
Most useful classes of this package are given below:
DatagramPacket This class represents a datagram packet.
This class represents a socket for sending and receiving
datagram packets.
InetAddress This class represents an Internet Protocol (IP) address.
ServerSocket This class implements server sockets.
Socket This class implements client sockets (also called just "sockets").
Technology and Tools used:

System Requirements:

Hardware Requirements:

 Intel(R) Pentium (R) 4 CPU 2.66 GHz

 256 MB DDR RAM
 Minimum 20 GB Hard Disk
 LAN Connectivity, Printer, Keyboard, Mouse, etc.

Software Requirements:

 Microsoft Windows 2000/XP

 Oracle 8i
 J2SDK 1.5.0 and Higher
 Ms-Word
 Notepad, JCreator etc.

Technology and Tools used:


 AWT/Swing.
 JDBC, Database (Oracle/MySQL/MS Access), Print API.


 J2SDK-1.5.0 and Higher

 JCreater, Text Pad etc.
Company Profile
Location :

KnowledgePoint Infotech Pvt. Limited

256, Dadu Marg, Barkat Nagar,
Tonk Fatak
Jaipur – 302015
Phone : 91 141 2590381,9829059033

About Organization:
The company was established in 2004 with the objective of software development,
consultancy and training. The company has developed Software for various private and
government organizations. The company also provides corporate training.

Applications Developed:

1. Online Insure Life for Insure Life, Pune.

2. Sunday School web application for an US client.
3. Match Making web application for an US client.
4. Fusion Marketing India (MLM Project).
5. Course Monitoring System for HCM-RIPA, Government of Rajasthan
6. Assets and Complaint Management System for HCM-RIPA, Government of
Rajasthan (
7. Web site of N. K. Buildcon Pvt. Ltd., Jaipur (
8. Web site of Vidyashram School, Jaipur (
9. Student Management System for In –House use. We also plan to develop this as a
10. On-Line Examination System for In-House use. We also plan to develop this as a
11. HR Recruitment Software for Pratham Software Pvt. Ltd., Jaipur.
12. Petrol Pump Management System for the Jagannath Filling Station (Petrol Pump),
Gangapur City, Rajasthan. We also plan to develop this as a product.
13. Employee Management System for the Jagannath Filling Station (Petrol Pump),
Gangapur City, Rajasthan. We also plan to develop this as a product.
Corporate Training:
The company has also started providing Corporate Training. Some of our prestigious
clients are:
1. Pratham Software, Jaipur
2. Elite Infotech., Jaipur
3. Vertex Plus Technologies, Jaipur
4. Vertex Plus Web Technologies Pvt. Limited, Jaipur

Devesh K. Gupta (Director).

M. Tech Computer Science,
IIT Kharagpur

Kalpana Gupta (Director)

MCA from Banasthali Vidyapeeth,
Banasthali, Niwai, Rajasthan

Core Team

Rakesh Kumar Kedia (Sr. Project Manager: B.E, MBA)

Manohar Singh Shekhawat (Project Manager: BCA, MCA)

Pratik Dwivedi (Sr. Consultant: MCA (DOEACC B-Level Course)

Prateek Patel (Sr. Software Executive: DOEACC A- Level Course)

Sushanta Mukharjee (Software Engineer: B.E)

Tulsi Ram Gurjar (Software Developer: MCA)

Arjun Singh Shekhawat (Web Designer: DTP, Flash & MSOffice)

Rahul Jain (Software Developer: MCA)

Rakesh Khandelwal (Software Developer: MCA)

Brijmohan Kataria(Software Developer: MCA)

Richa Sharma (Software Engineer: B.E)

Bhawani Saini (Software Executive: MCA)

Amit Agarwal (Software Engineer: B.E)

Context Diagram

Context Diagram
User Authentication Info
and broadcasting
and Private message
New Registration
Administrator Request
View list of registered
Can enable disable and
view , edit and delete
And also search user.
Chat Client
and Server
New Registration
System New Registration

User Authentication Info User Authentication Info
and broadcasting and broadcasting
and Private message and Private message
Chatting, Chatting,

Chat User 1 Chat User 2

Data Flow Diagram

Register User
Loginid , Password
And other Info Databas
e Server

If not Registered
us hat

re er


lis dm
Authenticate re t o in c
User an gis f an
an d v tere se
us d r iew d u e
Se er em , e se
User User can Admi ar and ov di r
ch e t
Chat n
User Admi Private Chatting for
Admin n

For Us hatting Pr
er1 Ch ivat
Us at f e
er or

User User User

User User
3 4 4
1 2

1. Registration Table
S.No Column Name DataType Constraints Description
1. loginid varchar(50) primary key
2. username varchar(50)
3. password varchar(50)
4. phone varchar2(15)
5. emailid varchar2(50)
6. registrationdate varchar2(50)
7. enable_status varchar(20)
8. usertype varchar(20)
9. address varchar(500)