Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
s
on
Remote Method Invocation
ti
ui
tT
en
om
La
in Hindi
M
st
s
Architecture of Remote
on
ti
ui
Method Invocation (RMI)
tT
en
om
request
client M
reply server
st
La
Simple coding way
s
on
CLIENT SIDE SERVER SIDE
ti
Add(2,3)
ui
int ADD(int a ,int b)
tT
Print(c); {
en
int c;
om
c=a+b;
M
st Return c;
}
La
Defination:
s
on
• The remote method invocation (RMI) is a remote
ti
object invocation technique used to locate and fetch
ui
tT
the objects at the remote side using object references
en
• (RMI ek technique hai jaha hum object ko locate and
om
fetch karte hai remote side pe)
M
st
La
Client side Server side
APPLICATION Server process
LAYER Client process
s
on
PROXY
ti
STUB
ui
LAYER SKELETON
tT
Remote
en
RRL Remote
LAYER Reference Reference
om
layer layer
M
TRANSPORT Transport Transport
st
LAYER layer layer
La
s
on
• 1)Application layer
ti
• 2)proxy layer
ui
tT
• 3)remote reference layer
en
• 4)transport layer
om
M
st
La
Application Layer
s
on
• Responsible for running client and server applications
ti
ui
tT
• Here client application invokes methods defined by server
en
application
om
• When client invokes a method then request is passed to proxy
M
st
layer
La
Proxy Layer
s
on
• Responsible for creating client stub at client side by
ti
ui
tT
packing the request msgs sent by client process
en
• Also responsible for creating skeleton by packing response
om
M
msgs sent by server
st
La
• Once stub and skeleton are created they are passed to RRL
Remote Reference Layer (RRL)
s
on
• Checks semantics and remote references used by client
ti
ui
tT
process using remote reference protocol
en
• Finally RRL transmits msgs and data to RMI transport
om
M
layer st
La
Transport Layer
s
on
• Responsible for establishing and maintaining stream
ti
ui
tT
oriented connection between client and server.
en
• Also responsible for managing send/receive of
om
M
request/reply msgs between client and server
st
La
Thank you so much
to see the video
s
on
ti
• If you have any doubt related to this you can contact us
ui
tT
en
• Email:sumerrajpurohit007@gmail.com
om
• Contact:9762903078
M
And if you find this helpful toh whatsapp pe
st
Share jaroor karna
La