Re: COM+ vs DCOM

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Alexander Nickolov (agnickolov_at_mvps.org)
Date: 11/04/04


Date: Thu, 4 Nov 2004 13:56:54 -0800

Depends on the features you are using. COM+ is built on top of
COM and offers configured components with declarative setting
of a bunch of properties. It introduces a new apartment model
(the TNA - thread-neutral apartment) for COM objects, a new
concept of object contexts, eliminates direct caller to object
pointers by introducing interceptors (to adjust the context), a new
declarative role security model, and also offers COM+ services
(COM+ Events for example). I've never dealt with COM+
myself, so I'm not the best person to explain thing about COM+.
I suggest you read a book on the subject first, then ask specific
question on the appropriate group:
microsoft.public.platformsdk.complus_mts

As for the practical quesions:
- you can develop COM+ components with VC6, but the ATL
wizard does not support the TNA, so you'll need to manually
edit your RGS file for those components to specify Neutral
- you can only deploy COM+ components on Win2K and later
(excluding Win Me). Note that Win XP has a later version of
COM+ (1.5) with some new features I know nothing about.
- you can develop on any platform of course, you just can't
debug on a platform without COM+
- when developing COM+ components you usually follow
a specific design paradigm - stateless components. This is
especially necessary for transacted components. There are
other design principles, but you'll have to delve into COM+
yourself

-- 
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"Jay" <jay@nowhere.com> wrote in message 
news:OMWRGarwEHA.3832@TK2MSFTNGP10.phx.gbl...
>I am new to COM+ development.
> What is the difference between the COM+ and DCOM?
> I read articles about how COM+ has additional services/features etc.
> But as a developer- How different is the code? Can I use visual studio 
> 6.0?
> Can I deploy the COM+ only to the win2k and above platforms? What are the
> other constraints?
> Can I develop them on NT with VC6.0?
>
> Thanks for your help!
>
>
>
> 


Relevant Pages

  • Re: what is the function of audit and account deamons
    ... Ive yet to find an all sun shop where solaris specific features can be focused on. ... when there are multiple versions interacting the use of platform specific extensions is not only confusing, it can be problematic, for example rbacs, sudo, extended file modes. ... its not much use today as people just dont worry about how much time a user uses as theres such an abundance of cpu time available, however there was a time when cpu time was precious. ... many people advocate using accounting as some kind of security monitoring tool, i dont, and would like to see the practice abandoned. ...
    (comp.sys.sun.admin)
  • Re: PHP IDE or PHP editor
    ... My platform is Windows XP. ... An editor without a debugger is like a car without wheels. ... >> increadible debugging and code analysis features. ...
    (comp.lang.php)
  • [PATCH v2 0/10] Moorestown enabling x86 patches (resend w/ correct format)
    ... Moorestown is Intel's Mobile Internet Device platform for 2009. ... features Lincroft (north complex with CPU, memory controller, graphics unit) ... it does not have many standard x86 PC features. ... Split into three patches, timer driver, tsc, choose timer ...
    (Linux-Kernel)
  • Re: Apples poor positioning for the age *after* x86
    ... features, but they work with the new DirectX. ... They did it because it is far too hard to switch. ... They realized the only way to achieve platform independence was to develop a software platform for the lowest common denominator. ... on the off chance that you might need to switch CPU architectures? ...
    (comp.sys.mac.advocacy)