DCOM replacement in .NET
-
Hello What is the replacement of DCOM in .Net ,how can we still write modules that communicate over a network and providing net transparency to develoers....as we used to do in DCOM is webservices the answer? or is there any better mechanism.. Thanks Muhammad Ahmed Ahmed
-
Hello What is the replacement of DCOM in .Net ,how can we still write modules that communicate over a network and providing net transparency to develoers....as we used to do in DCOM is webservices the answer? or is there any better mechanism.. Thanks Muhammad Ahmed Ahmed
WebServices is a different base concept than DCOM was. The closest replacement or equivalent is Remoting using a TCP channel. You can also communicate over a TCP connection, call methods of a remote object and receive results. What can't be done with remoting, however, is to instantiate a new object on a remote computer without a server program controlling this instantiation (whether the server object should behave like a singleton or create a new instance for every call, for example). mav
-
WebServices is a different base concept than DCOM was. The closest replacement or equivalent is Remoting using a TCP channel. You can also communicate over a TCP connection, call methods of a remote object and receive results. What can't be done with remoting, however, is to instantiate a new object on a remote computer without a server program controlling this instantiation (whether the server object should behave like a singleton or create a new instance for every call, for example). mav
can u refer any samples of this on codeproject technique...? Ahmed
-
can u refer any samples of this on codeproject technique...? Ahmed
Just do a search for "Remoting" on CP or MSDN, you'll find plenty of references. Regards, mav