Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


COM - The Component Object Model

June 5, 2000

COM is without doubt, the center of the Microsoft universe. Few Microsoft products are not built with it.

What is COM? what is its purpose?

COM was designed to solve a number of problems that have existed for sometime, not just in the Windows sphere but also within the development and application spheres.

Code re-use is a nirvana that developers endure to achieve. However there have been very few situations where that could be realized. Take for instance an implementation of a solution in a C++ application. The developer builds generic classes to address a problem. From then on, the developer can re-use the code and can share it with others. While this looks good in theory, some problems arise in practice.

First, the new code is language specific. So, if the second developer ONLY knew Visual Basic, the newly created C++ classes would be of no use.

In COM, language independence is achieved.

Encapsulation is also a target of the COM specification. If a developer builds an object that exposes some functionality and the new code becomes publicly consumed the interfaces exposed and used cannot subsequently change. If the exposed implementation details changed we could face the real prospect of causing a problem we had striven to avoid.

By the nature of the COM specification objects provide methods to expose their implementation details and allow dynamic discovery. This enables such facilities as scripting languages to use such functionality without having to bind details in an early fashion. Coupling implementation details in such a fashion is called late binding.

One of the more important concepts of the COM model enables object implementations in the notion of location transparency. When an application calls an object's interfaces the application need not know whether the actual code is being executed locally or on a distributed machine. This location independence is provided through the use of proxy objects that sit between locations and marshals information between their instances.

Additionally, the COM specification includes implementation guidelines for transaction processing, distributed co-operation, and integrated security. Initially, COM implementations could only be targeted to Windows platforms (original COM was implemented as OLE - Object Linking and Embedding) however; other platforms are now supported by third party implementations

In the DNA methodology COM is a very important strand, involved in all the products and implemented directly, and natively, within the NT platform upon which the DNA technical implementation runs. However, DNA isn't COM alone, so we shall discuss where the other products fit and what they contribute.

The Tier Solutions - The Holy Grail
Introduction to ASP For Web Developers | Table of Contents
Internet Information Server and ASP


Up to => Home / Authoring / ASP / Intro




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers