24 February 2009

What is COM, DCOM objects in DotNet ?

What is COM, DCOM objects in DotNet ?


Ans-1 :

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.


Ans-2 :

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.
What is COM, DCOM objects in DotNet ?SocialTwist Tell-a-Friend

17 comments:

Anonymous said...

I don't even understand how I ended up right here, but I assumed this post was good. I do not recognise who you're but certainly you are
going to a well-known blogger for those who are
not already. Cheers!

Have a look at my homepage ... Residential LED Lighting

Anonymous said...

We absolutely love your blog and find the majority
of your post's to be what precisely I'm looking for.
Would you offer guest writers to write content to
suit your needs? I wouldn't mind publishing a post or elaborating on a lot of the subjects you write regarding here. Again, awesome blog!

Also visit my homepage: aquarium supplies

Anonymous said...

What i do not understood is in truth how you are
no longer really a lot more neatly-favored than you might be now.
You are so intelligent. You already know therefore considerably relating to this topic, produced me in my view
imagine it from numerous numerous angles. Its like women and men don't seem to be interested unless it is one thing to accomplish with Girl gaga! Your own stuffs excellent. All the time care for it up!

my web-site - golf gloves for men

Anonymous said...

That is very attention-grabbing, You're an overly skilled blogger. I have joined your rss feed and look ahead to seeking more of your excellent post. Additionally, I have shared your website in my social networks

my webpage ... Orlando Sushi

Anonymous said...

Hey there! I know this is kinda off topic but I was wondering which blog platform are you using for this website?
I'm getting sick and tired of Wordpress because I've had issues
with hackers and I'm looking at options for another platform. I would be great if you could point me in the direction of a good platform.

Also visit my web site sushi rice recipe seasoned rice vinegar

Anonymous said...

We are a group of volunteers and opening a new scheme in our community.
Your website offered us with valuable info to work
on. You've done a formidable job and our whole community will be grateful to you.

Here is my blog post spinal injury in Cats

Anonymous said...

Admiring the time and effort you put into your blog and in depth information you present.
It's nice to come across a blog every once in a while that isn't the same outdated rehashed
material. Wonderful read! I've saved your site and I'm adding your RSS feeds to my Google account.


My web page - natural back pain relief herbs

Anonymous said...

Pretty nice post. I just stumbled upon your blog and wished to
say that I've really enjoyed browsing your blog posts. After all I'll be subscribing to your feed and
I hope you write again soon!

Feel free to visit my blog post; Short Game instruction

Anonymous said...

Thanks for your personal marvelous posting! I seriously enjoyed
reading it, you're a great author. I will make sure to bookmark your blog and definitely will come back at some point. I want to encourage continue your great work, have a nice morning!

Here is my web blog; true back video

Anonymous said...

Thanks for your personal marvelous posting! I seriously enjoyed reading it, you're a great author. I will make sure to bookmark your blog and definitely will come back at some point. I want to encourage continue your great work, have a nice morning!

My webpage ... true back video

Anonymous said...

Hi there all, here every one is sharing such experience, so it's fastidious to read this webpage, and I used to visit this web site all the time.

my web-site :: las vegas golf schools

Anonymous said...

Very good blog! Do you have any recommendations for aspiring writers?
I'm hoping to start my own site soon but I'm a
little lost on everything. Would you propose starting with a free platform like Wordpress or go for a
paid option? There are so many options out there that I'm completely confused .. Any tips? Thanks!

Here is my blog :: taylormade golf bags

Anonymous said...

Excellent pieces. Keep posting such kind of info on your
site. Im really impressed by it.
Hi there, You have performed an excellent job.

I'll definitely digg it and for my part recommend to my friends. I am confident they will be benefited from this site.

Also visit my site; Chiropractor

Anonymous said...

Spot on with this write-up, I truly feel this web site needs
much more attention. I'll probably be returning to read through more, thanks for the info!

Here is my web-site: St Cloud Floral

Anonymous said...

I truly love your website.. Great colors & theme.
Did you develop this website yourself? Please reply back as I'm attempting to create my own site and would love to learn where you got this from or just what the theme is called. Thank you!

Feel free to visit my web-site - bladder infection test

Anonymous said...

Have you ever thought about writing an e-book or guest authoring on other blogs?
I have a blog centered on the same subjects you discuss and would really like to have you share some stories/information.
I know my subscribers would appreciate your work. If you're even remotely interested, feel free to send me an email.

Also visit my web site: personal injury attorney

Anonymous said...

Howdy, i read your blog occasionally and i own a similar one and i was just wondering
if you get a lot of spam feedback? If so how
do you prevent it, any plugin or anything you can recommend?
I get so much lately it's driving me mad so any support is very much appreciated.

Feel free to surf to my site lower back tattoos on women

 
#footer-column-container { clear:both; } .footer-column { padding: 10px; }