GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  DotNet
Go To First  |  Previous Question  |  Next Question 
 DotNet  |  Question 161 of 165    Print  
What is COM, DCOM objects in DotNet
Can some please answer this question in detail and also how they are going to be useful in
DotNet



  
Total Answers and Comments: 2 Last Update: August 05, 2008     Asked by: satya.net3 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: venuvaradhan
 

The dot net frameworks allow you to build serviced components that can use com+ services. These components of dot net framework runs in the manages execution environment of dot net framework that is share their content with com+ application.

Now the question arise what com+ and what is doing how is its comes in existence. Before com+ comes into existence. COM (Component Object Model) is first programming model that provide component based approach to software development. This component based approach of com allowed us to develop small, logical reusable and stand alone modules that integrates into a single application. But these components could not be display on over network.

So these drawback produce another model that is DCOM (distributes COM). DCOM programming model enabled you to display com components over network and distribute application easily across platforms. DCOM components also help in two-tier client/server applications. These models also have some drawback that helps to development of COM+ approach. What these drawbacks are…

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 server 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.



Above answer was rated as good by the following members:
siya2008
August 05, 2008 03:15:03   #1  
venuvaradhan Member Since: August 2008   Contribution: 2    

RE: What is COM, DCOM objects in DotNet
COM objects require installation on the machine from where it is being used and DCOM requires installation somewhere on the same network.

Any COM object may participate in DCOM transactions. DCOM introduced several improvements/optimizations for distributed environment such as MULTI_QI (multiple QueryInterface()) security contexts etc.

DCOM demonstrated importance of surrogate process (you cannot run in-proc server on a remote machine. You need a surrogate process to do that.)

DCOM introduced a load balancing.

The fact is dotnet has not replace the COM/DCOM instead it has extended the functionality by introducing new featurs to it.

While dot-NET software can utilize COM components and COM components can tie into many features of the Dot-NET environment the two technologies are internally separate. In particular Dot-NET has been designed to work across the Internet with firewalls and wide-area networks whereas DCOM was designed primarily for use on local-area networks.
We can use the legacy COM components from .NET environment and viceversa.Inorder to access a COM component from .NET environment .NET uses CCW ( COM Callable Wrapper ) object and for accessing a .NET component from COM environment COM uses RCW( Runtime Callable Wrapper) object.

 
Is this answer useful? Yes | No
August 05, 2008 03:22:52   #2  
venuvaradhan Member Since: August 2008   Contribution: 2    

RE: What is COM, DCOM objects in DotNet

The dot net frameworks allow you to build serviced components that can use com+ services. These components of dot net framework runs in the manages execution environment of dot net framework that is share their content with com+ application.

Now the question arise what com+ and what is doing how is its comes in existence. Before com+ comes into existence. COM (Component Object Model) is first programming model that provide component based approach to software development. This component based approach of com allowed us to develop small logical reusable and stand alone modules that integrates into a single application. But these components could not be display on over network.

So these drawback produce another model that is DCOM (distributes COM). DCOM programming model enabled you to display com components over network and distribute application easily across platforms. DCOM components also help in two-tier client/server applications. These models also have some drawback that helps to development of COM+ approach. What these drawbacks are…

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 server 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.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution 
Latest Answer : CLR - Common Language Runtime...Its a virtual machine of Microsoft's .Net,During Compile time the Source code(C#,VB.Net..) is converted into Intermediate Language (MSIL),During Runtime this IL is converted to native code to Operating System by ...

A .NET programming language (C#, VB.NET, J# etc.) does not compile into executable code; instead it compiles into an intermediate code called Microsoft Intermediate Language (MSIL). As a programmer 
Latest Answer : MSIL is Microsoft Intermediate Language which is platform independent. Any .Net application is compiled in two steps -- first the high level language compiler compiles it into MSIL and then the CLR compiles IL code into native code.It is because of MSIL ...

CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately.The CLR is the execution 
Latest Answer : Common Language Run-time (CLR):The most important part of the .NET Framework is the .Net Common Language Run-time (CLR) also called .Net Run-time in short. It is a framework layer that resides above the Operating System and handles/manages the execution ...

It extends the benefits of metadata by allowing developers to inspect and use it at runtime. For example, dynamically determine all the classes contained in a given assembly and invoke their methods.Reflection 
Latest Answer : Reflection is the mechanism of discovering class information at run time or it is an technique for reading meta data at run time ...

Now VB.NET is object-oriented language. The following are some of the differences:Data Type Changes The .NET platform provides Common Type System to all the supported languages. This means that all 
Latest Answer : The big one is that VB (we are talking VB through VB6) is entirely in the COM world not the .Net world of managed code. VB generates either threaded P-code or native EXE, processed by the VB runtime,  but does not have concept of Release vs Debug. ...

ADO uses Recordsets and cursors to access and modify data. Because of its inherent design, Recordset can impact performance on the server side by tying up valuable resources. In addition, COM marshalling 
Latest Answer : Even in ADO there is a concept of shaped queries where we can access the records from multiple tables without using joins. ...

Visual Basic .NET has many new and improved language features — such as inheritance, interfaces, and overloading — that make it a powerful object-oriented programming language. As a Visual 
Latest Answer : Migrating from VB to VB.Net implies following advantages --High level OOPs features like inheritance, polymorphism and delegates become available.Also available are features like namespaces, interfaces, assemblies and attributes.Migrating to ADO.Net ...

1. Basic objects of Dot net environment?2. If you perform arithmatic operation on null value a. 0b. nullc. can't be determinedd. compilation error3. In c# keyword .net map to which .net data type.a. System.Int16b. System.Int32c. System.Int64d. System.Int1284. In sql-server give example for binary data type and non-binary data type5. page init, page load, page pre render, page unload - is this order correct otherwise give correct order.6. To redirect the page- should not round trip the page7.Expansion
Read Answers (3) | Asked by : K.Gajalakshmi

Can some please answer this question in detail and also how they are going to be useful inDotNet 
Latest Answer : The dot net frameworks allow you to build serviced components that can use com+ services. These components of dot net framework runs in the manages execution environment of dot net framework that is share their content with com+ application.Now the question ...


 Sponsored Links

 
Related Articles

C++ Objects and Classes

C Objects and Classes An Overview about Objects and Classes In object oriented programming language C the data and functions procedures to manipulate the data are bundled together as a self contained unit called an object A class is an extended concept similar to that of structure in C programming l
 

JavaScript Objects

JavaScript Objects Object oriented Programming in an important aspect of JavaScript It is possible to use built in objects available in JavaScript It is also possible for a JavaScript programmer to define his own objects and variable types In this JavaScript tutorial you will learn how to make use
 

SQL Management Objects

The object model for SQL Server 2005 is the SQL Management Objects or SMO. This model is simple in conception and usage and is based on .NET Framework managed code. It is the primary tool for developing databases management applications using the .NET framework or the SQL server management studio op
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

JavaScript Elements and Embed Objects

JavaScript Elements and Embed Objects In this JavaScript tutorial you will learn about browser objects elements and embed properties of elements object length type embed object properties of embed object along with syntax and examples mosgoogle center elements object The elements object is used in J
 

JavaScript Browser Objects Part 2

JavaScript Browser Objects Part 2 In this JavaScript tutorial you will learn about Browser Objects viz button object properties of button object form name value Methods of button object checkbox object properties of checkbox object checked defaultChecked form name type value Methods of checkbox obje
 

JavaScript Browser Objects

JavaScript Browser Objects In this JavaScript tutorial you will learn about browser objects in JavaScript categories of browser based objects additional browser objects anchor object link object properties of link object and methods of link object mosgoogle center JavaScript supports a number of bro
 

JavaScript Applet Objects

JavaScript Applet Objects In this JavaScript tutorial you will learn about applet object properties and methods of applet object Methods of applet object area object Properties of area object viz hash host hostname pathname port protocol search and  target mosgoogle center applet object Th
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape