tags:

views:

371

answers:

0

As per MSDN client activated objects creates a connection between server and client whenever proxy gets created but for SAO, connection between server and client gets created only when client invokes web method. i have a doubt tht if proxy gets created(instantiation of proxy) by server then obivously for sao also there shud be a connection needs to make between client and server.

as per MSDN- RemoteObject.RemoteObject remoteObject = (RemoteObject.RemoteObject)Activator.GetObject (typeof(RemoteObject.RemoteObject), "tcp://localhost:8080/RemotingObject");

Keep in mind that at this point no actual communication with the server has occurred, so the remote object itself has not been instantiated. What has been instantiated is the proxy object on the client side. The client can now use remoteObject as though it is a direct reference to the remote object.

I am new to remoting so i suppose my doubt would be silly.:)