O'Reilly logo
  • Mrinali Gupta thinks this is interesting:

COM

From

Cover of COM & .NET Component Services

Note

All good programmers aspire for as much code reuse as possible simply because it allows you to make very robust and scalable applications very quickly.

There are two types of code reuse:

White box: This refers to pasting existing pieces of code into a monolithic executable. Black box: This involves linking together of segments of compiled machine code. Hence, compiled black box class libraries from which the client application can create objects are called Components.

.NET also provides developers with ways and means to create and deploy components. Since this approach closely resembles COM, it's not difficult for developers to get confused between the two distinctly separate approaches to component-based deve...