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>
<SAO Properties = "Object instanciated on the server. Default
constructor. Creation delayed till first method call. Lifetime controlled by
server">
<SingleCall Properties ="Object created and destroyed
with each client request" />
<Singleton Properties = "Object created and shared
between clients" />
</SAO>
<CAO Properties = "Object instanciated on the server. Multiple
constructors. Creation is not delayed. Lifetime controlled by client" />
</Marshal-by-reference>
<Marshal-by-value>
Can be Client Activated Objects only, and instanciated on the client
itself
</Marshal-by-value>
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
=============