


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Professor: Sussman; Class: PROG LANG TECH & PDGMS; Subject: Computer Science; University: University of Maryland; Term: Spring 2001;
Typology: Study notes
1 / 4
This page cannot be seen from the preview
Don't miss anything!



CMCS 433, Spring 2001 - Alan Sussman 2
CMCS 433, Spring 2001 - Alan Sussman 3
CMCS 433, Spring 2001 - Alan Sussman 4
CMCS 433, Spring 2001 - Alan Sussman 5
CMCS 433, Spring 2001 - Alan Sussman 6
CMCS 433, Spring 2001 - Alan Sussman 7
CMCS 433, Spring 2001 - Alan Sussman 8
CMCS 433, Spring 2001 - Alan Sussman 9
CMCS 433, Spring 2001 - Alan Sussman 10
CMCS 433, Spring 2001 - Alan Sussman 11
CMCS 433, Spring 2001 - Alan Sussman 12
CMCS 433, Spring 2001 - Alan Sussman 19
ClientImpl
Server s = (Server) Naming.lookup(“//host/ ChatServer”);
Hosted Remote Objects
c
s
ServerImpl Stub
Hosted Remote Objects
ServerImpl CMCS 433, Spring 2001 - Alan Sussman 20
ClientImpl
Connection conn = s.logon(“Bill”, c);
Hosted Remote Objects
c
s
ServerImpl Stub
Marshalled arguments Serialized String “Bill” Serialized Stub for c
target
method: logon
CMCS 433, Spring 2001 - Alan Sussman 21
“Bill”
ClientImpl Stub
ServerImpl
Marshalled arguments Serialized String “Bill” Serialized Stub for c
target
method: logon logon
CMCS 433, Spring 2001 - Alan Sussman 22
“Bill”
ClientImpl Stub
ServerImpl
Hosted Remote Objects
name
client
conn
Connection Impl
CMCS 433, Spring 2001 - Alan Sussman 23
“Bill”
ClientImpl Stub
ServerImpl
Hosted Remote Objects
Connection Impl
Marshalled return value:
Serialized Stub for conn
conn
CMCS 433, Spring 2001 - Alan Sussman 24
ClientImpl
Hosted Remote Objects
c
s
ServerImpl Stub
Marshalled return value Serialized Stub for conn
ConnImpl Stub
conn