Академический Документы
Профессиональный Документы
Культура Документы
developed at:-
TATA CONSULTANCY SERVICES,
Hyderabad
Submitted by:-
Jalaj Mathur
B.E IVth year
CHAT SERVER
The Chat Server is a software which
allows exchange of information between
two or more then two clients
It is an good example showing a small
model of how messages can be send
from one user to another
CHAT SERVER
ADVANTAGES OF THE PROJECT :-
Provides a good graphical interface to the
user to chat to its neighbouring computers.
IDLE STATE
REQUEST
ACCEPT
ACKNOWLEGDE
IDLE STATE connection
DATA FLOW DIAGRAM
SERVER
READ BY
SERVER
BROADCAST TO
ALL CLIENTS
SEND MESSAGE
MESSAGE WINDOW
CLIENT 3
CLIENT 1 CLIENT 2
CHAT SERVER
R.M.I.
RMI server
RMI client
RMI ARCHITECTURE
JVM JVM
CLIENT
SERVER
STUB
SKELETON
RRL
RRL
TRANSPORT LAYER
TRANSPORT LAYER
STUB/SKELETON LAYER
It listens to remote method calls made by
a client & redirects it to the remote RMI
services on the Server.
STUB
Client side proxy representing remote
object.
It communicates method invocations to
the remote object through Skeleton
(implemented on Server.)
SKELETON
It is server side proxy that continues
communication with Stub by:-
Reading parameters of method call.
Making the call to the remote service
implementation object.
Accepting return value.
Writing the return value back to the Stub.
REMOTE REFERENCE LAYER
Interprets & manages references made by
a Client to remote object on the server.
Its main function is that of Marshalling.