COM & DCOM &Remoting
1)what is com&Dcom&Remoting?
Ans)Com is a technology for componet software Devolopment.It is a binarystandared and language independent.COM objects require installation on the machine .Its an onetier architecture.
Dcom is the Distributed extension of com.COM objects require installation on the machine from where it is being used and DCOM requires installation somewhere on the same network. Its a Two-tier Architecture.
Dcom Drawbacks:
These two-tier architecture helps us to sharing of resources and data but these approach have some drawbacks that are as follows. The DCOM approach overburdened client computer with the responsibility of performing all processing functions while the merely acted as traffic controller, helps movement of data to and from the client and server components. So availability of resources was therefore, always a problem and the performance of application suffered. Multiple request of data cause to network traffic. So performance of application decreases.
DotNet Remoting:
Remoting helps in communication between two or more application. It does not matter whether it is on same computer or on different computers and it is also possible that both are using different operating system. The dot net remoting helps in number of services such as transporting message in different objects using communication channels. Communication channels helps in transport message in between the remote objects.When any messages are sent with communication channels are encoded and after this decoded with the help of dot net serialization formatters these are binary and soap. These are two kinds of encoding possible just like binary and xml encoding. Both of these have different users. Binary encoding helps full where performance is first requirement.Xml coding helps where interoperability is required.
Dot net remoting enables to perform communication between different object by using number of transportation protocols such as HTP and TCP/IP.
.NET Remoting versus Distributed COM:-
In the past interprocess communication between applications was handled through Distributed COM, or DCOM. DCOM works well and the performance is adequate when applications exist on computers of similar type on the same network. However, DCOM has its drawbacks in the Internet connected world. DCOM relies on a proprietary binary protocol that not all object models support, which hinders interoperability across platforms. In addition, have you tried to get DCOM to work through a firewall? DCOM wants to communicate over a range of ports that are typically blocked by firewalls. There are a ways to get it to work, but they either decrease the effectiveness of the firewall (why bother to even have the firewall if you open up a ton of ports on it), or require you to get a firewall that allows support for binary traffic over port 80.
.NET Remoting eliminates the difficulties of DCOM by supporting different transport protocol formats and communication protocols. This allows .NET Remoting to be adaptable to the network environment in which it is being used.
hit counter

