M
Mark Broadbent
Could someone clear this up for me a bit. I am a little bit uncertain about
this but this is my understanding. Please correct where wrong or bits
missing.
There are two types of remoting :-
Marshal-by-reference
Server Activated objects (SAO). Object instanciated on the
server. Default constructor. Creation delayed till first method call.
Lifetime controlled by server
has :-
SingleCall activation mode. Object created and destroyed
with each client request
Singleton activation mode. Object created and shared
between clients
Client Activated objects (CAO). Object instanciated on the
server. Multiple constructors. Creation is not delayed. Lifetime controlled
by client
Marshal-by-value
Can be Client Activated Objects only, and instanciated on the client
itself
One thing I really dont understand (no real code examples) is how to remote
using marshal-by-value. I have read that you need to apply the
[Serializable()] attribute to the class in question but is this all you need
to do?
--
Br,
Mark Broadbent
mcdba , mcse+i
=============
this but this is my understanding. Please correct where wrong or bits
missing.
There are two types of remoting :-
Marshal-by-reference
Server Activated objects (SAO). Object instanciated on the
server. Default constructor. Creation delayed till first method call.
Lifetime controlled by server
has :-
SingleCall activation mode. Object created and destroyed
with each client request
Singleton activation mode. Object created and shared
between clients
Client Activated objects (CAO). Object instanciated on the
server. Multiple constructors. Creation is not delayed. Lifetime controlled
by client
Marshal-by-value
Can be Client Activated Objects only, and instanciated on the client
itself
One thing I really dont understand (no real code examples) is how to remote
using marshal-by-value. I have read that you need to apply the
[Serializable()] attribute to the class in question but is this all you need
to do?
--
Br,
Mark Broadbent
mcdba , mcse+i
=============