Beruflich Dokumente
Kultur Dokumente
Submitted in Partial fulfillment of the requirements for the award of the degree
B.Tech in computer science and engineering at Maulana Abul Kalam Azad
University of Technology for the year 2013-17
Submitted by
1 | Page
FUTURE SUPPORT ASSISTANT
Submitted in Partial fulfillment of the requirements for the award of the degree
B.Tech in computer science and engineering at Maulana Abul Kalam Azad
University of Technology for the year 2013-17
Submitted by
2 | Page
Project Associates:-
Serial Name of the Class WBUT Telephone E-mail Address Signature
No Student Roll Roll No no
Guide:-
3 | Page
CERTIFICATE OF APPROVAL
This is to certify that this report of B.Tech 7 th semester project, entitled Future
Support Assistant based on Java is a record of bona-fide work, carried out by
Sumit Sagar, Ananya Roy, Anirudha Patra, Arindam Biswas under my
supervision and guidance.
In my opinion, report in its present form is in partial fulfillment of all the
requirements, as specified by Future Institute of Engineering and Management,
Kolkata and as per regulation of Maulana Abul Kalam Azad University of
Technology .In fact, it has attained the standard, necessary for submission. To the
best of my knowledge the results embodied in this report are original in nature and
worthy of incorporation in the present version of the report for B.Tech program in
Computer Science and Engineering in the year 2016-2017.
Guide/Supervisor
____________________________
Mr./Ms/Dr.LMN
Department of Computer Science and Engineering
Future Institute of Engineering & Management
_
____________________ _____________________________
Examiner(s) Head of the Department
Computer Science and Engineering
Future Institute of Engineering and Management
4 | Page
ACKNOWLEDGEMENT
We take this opportunity to express our profound gratitude and deep regards to our
mentor Prof. Abhijit Saha for his exemplary guidance, monitoring and constant
encouragement throughout the course of this project. The blessing, help and
guidance given by him, time to time, shall carry us a long way in the journey of life
on which we are about to embark. We also acknowledge the constant support and
enthusiasm and guidance given by our Principal Dr.Aloke Kumar Ghosh and our
head of department Prof. Tapas Roy.
5 | Page
PROJECT ABSTRACT
6 | Page
CONTENTS
CHAPTER 1 INTRODUCTION
Objective
Summary of Present work
Scope of the system
CHAPTER 6 DESIGN
ER Diagram
Use-case diagram
Client-server functional diagram
CHAPTER 7 TESTING
Testing Process
Test case 1
7 | Page
Objective of Future support
Assistant
9 | Page
2. Client connection: This step on the part of clients,
participants in the send and receive from the server.
Message structure
10 | P a g e
//In ServerThread read the incoming message and
hand it to SocketServer
Message msg = (Message) streamIn.readObject();
server.handle(ID, msg);
.......
// In SocketServer process the messages based on
their type
When a user wants to send a file, first his request is sent via
a message of type upload_req. The recipient then does the
following:
11 | P a g e
The sender, on receiving positive reply connects to this
socket and starts file upload
t.start();
t.start();
Classes Implemented
12 | P a g e
ChatFrame
HistoryFrame
C:\Users\Administrator\Desktop\Final_project\Final_Year_sumit\Fut
ureSupportAssistant\build\classes
Download
C:\Users\Administrator\Desktop\Final_project\Final_Year_sumit\Fut
ureSupportAssistant\build\classes
13 | P a g e
download the file implementing getRemoteSocketAddress()
method. If download is unsuccessful the exceptions are shown
directly to the user, so that user can identify the basic problems
and initiate the troubleshooting steps.
ServerFrame
C:\Users\Administrator\Desktop\Final_project\Final_Year_sumit\Ser
ver_FutureSupportAssistant\build\classes
SOFTWARE REQUIREMENTS
SPECIFICATION
Software Required
OPERATING SYSTEM : WINDOWS XP/VISTA/
SOFTWARE USED: NetbeansIDE
FRONT END :Java (I.E. Swing, Sockets, Xml)
JAVA SUPPORT: JDK6.0+
14 | P a g e
CONNECTION : TCP / IP
PROTOCOL: HTTP, SMTP, POP3.
Hardware Required
PROCESSOR : PENTIUM IV
CLOCK SPEED : 2 GHZ
SYSTEM BUS : 32 BIT
RAM : 128 MB
HDD : 40GB
MONITOR : SVGA COLOR
SOFTWARE DEVELOPMENT
PROCESS MODEL
Royce's original waterfall model is adopted in Future
Support Assistant as software development process
model, the following phases are followed in order:
15 | P a g e
4.Coding: the development, proving, and integration of
software
5.Testing: the systematic discover
and debugging of defects
6.Operations: the installation, migration, support,
and maintenance of Future support Assistant.
OVERVIEW
System Overview
16 | P a g e
The FSA uses two-tier client server architecture as shown in figure
below. The application handling is completed separately for
database queries and updates and for business logic processing
and user interface presentation.
Client (tier-1)
Application
Network
Drivers
Network
Interface
Network Interface
Databas
Server (tier-2)
e
17 | P a g e
This client program is straight forward and simple because
the server implements a simple protocol. The client sends
text and file to the server, and the server echoes it back. The
basics are much the same as they are in this program:
1. Open a socket.
2. Open an input stream and output stream to the socket.
3. Read from and write to the stream according to the
server's protocol.4
4. Close the streams.
5. Close the socket.
We must start the server program first. To do this, run the server
program using the Java interpreter, just as any other Java
application. Specify as a command-line argument the port number
on which the server program listens.
Next, running the client program. Note that we can run the client
on any computer on your network; it does not have to run on the
same computer as the server. Specify as command-line
arguments the host name and the port number of the computer
running the KnockKnockServer program.
18 | P a g e
If we start a second client while the first client is connected to the
server, the second client does not hangs. Future support Assistant
supports multiple clients, talks about supporting multiple clients.
while (true){
accept a connection;
create a thread to deal with the client;
}
Class Hierarchy
o java.lang.Object
o java.awt.Component (implements
java.awt.image.ImageObserver,
java.awt.MenuContainer, java.io.Serializable)
o java.awt.Container
o java.awt.Window (implements
javax.accessibility.Accessible)
o java.awt.Frame (implements
java.awt.MenuContainer)
o javax.swing.JFrame (implements
javax.accessibility.Accessible,
javax.swing.RootPaneContainer,
javax.swing.WindowConstants)
o com.ui.ChatFrame
o com.ui.HistoryFrame
o com.ui.MainFrame
o com.socket.Download (implements
java.lang.Runnable)
o com.socket.History
o com.socket.Message (implements java.io.Serializable)
o com.socket.SocketClient (implements
java.lang.Runnable)
o com.socket.Upload (implements java.lang.Runnable)
20 | P a g e
Hierarchy For All Packages
Package Hierarchies:
com.socket
com.ui
Class Hierarchy
o java.lang.Object
o java.awt.Component (implements
java.awt.image.ImageObserver,
java.awt.MenuContainer, java.io.Serializable)
o java.awt.Container
o java.awt.Window (implements
javax.accessibility.Accessible)
o java.awt.Frame (implements
java.awt.MenuContainer)
o javax.swing.JFrame (implements
javax.accessibility.Accessible,
javax.swing.RootPaneContainer,
javax.swing.WindowConstants)
o com.socket.ServerFrame
o com.socket.Database
o com.socket.Message (implements java.io.Serializable)
o com.socket.SocketServer (implements
java.lang.Runnable)
Class Database
21 | P a g e
java.lang.Object
com.socket.Database
Class Message
java.lang.Object
com.socket.Message
All Implemented Interfaces:
java.io.Serializable
Class ServerFrame
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
com.socket.ServerFrame
22 | P a g e
DESIGN
23 | P a g e
Server client connection
24 | P a g e
Use-Case diagram of present work of
FutureSupportAssistant
25 | P a g e
Client-server functional
diagram
26 | P a g e
Testing Process
b. Design
System Test
d.Organize
Project
The objective our test plan is to find and report as many bugs as
possible to improve the integrity of our program. Although
exhaustive testing is not possible, we will exercise a broad range
of tests to achieve our goal.
27 | P a g e
TEST CASE-1
Tested By:
Test Type
Test Case
Description
.
Item(s) to be tested
Specifications
28 | P a g e
PROJECT SCREENSHOTS
29 | P a g e
ChatFrame.java ( Source Package -> com.ui )
30 | P a g e
History Frame.java (Source Package-> com.ui)
31 | P a g e
ServerFrame.java ( Source Package-> com.socket)
32 | P a g e
Server upload History in HistoryFrame
33 | P a g e
Chat support ( After Login successful)
34 | P a g e
Messanging through Future Chat support
35 | P a g e
Server Thread running waiting for the client to connect with host id and port number
36 | P a g e
BENEFITS, POTENTIAL &
ADVANTAGES
37 | P a g e
PROGRESS TILL DATE
38 | P a g e
FACILITIES REQUIRED FOR FUTURE
PROJECT
Two sockets are created at the client side and the server side. The
client connects to the server through its IP address and port
number. They must share the same port number for them to
communicate. The client and the server both communicate
through a stream of bytes written to the socket. The client and
the server must agree on a protocol (TCP, UDP or RAW) and agree
on the language of the information transferred back and forth
through the socket.
SERVER
Request for desktop status
Transfer Remote
detail
REMOTE DESKTOP
REMOTECONNECTIONS
DESKTOP CONTROLLER
Request for
desktop detail
Sends
desktop CLIENT
details
39 | P a g e
Figure: DFD (Level 0) for Remote desktop
connections
a) Remote Administration
b) Terminal Services
Shut down Remote desktop.
Log of Remote desktop.
CONCLUSION
Java chat messenger and remote desktop module within the
single application is potentially huge growth area and several
companies are currently developing software that enables users
to chat as well as to access remote systems from the office or
other remote locations by using even embedded system. By using
platform independent language like java, for development, gives
freedom to use some application in heterogeneous systems.
REFERENCES
https://docs.oracle.com/javase/tutori
al/networking/sockets/
http://netbeans.org/kb/
http://www.tutorialspoint.com/swing/
41 | P a g e
https://www.tutorialspoint.com/data_
communication_computer_network/
42 | P a g e