PC Review


Reply
Thread Tools Rate Thread

COM+.... why?

 
 
nico1469
Guest
Posts: n/a
 
      8th Aug 2004
Hello all,

My project has many layers - SI (sevice component), Orc
(Orchestration), BL &DAL. Nowdays i'm using com+ for every layer (Si
is a service component, others are plain library components - without
using setabort/setcomplete.
My question is - why should i use com+ other then for the si? will
com+
slow the performance of the application (or maybe accelerate it
(pooled?) -
help would be much appreciated !


Nico
 
Reply With Quote
 
 
 
 
Thomas
Guest
Posts: n/a
 
      10th Aug 2004
Firstly, yes COM+ will slow down writes to the database. COM+ is about 50%
slower than using ADO transactions. However there are reasons for using COM+

1. The system accesses multiple databases - In order to transactionally
write to multiple databases you must use COM+ and its two phase commit. COM+
uses the Distributed Transaction Coordinator service to ensure that all
writes go through to both databases or neither database.

2. Easier security model - If you want to secure your business and/or data
layer components and be able to change the permissions after you have
deployed, then COM+ is far nicer. I have developed a work around so that I
do not have to use COM+, but it is not nearly as easy as using the COM+
catalog.

3. Object pooling - Granted, there are ways of getting the same effect
without COM+'s pooling.

4. Queued Components


The problem with COM+, among other things, is that it makes deployment
significantly more difficult. Exponentially so if you are deploying a COM+
solution to the users desktop (i.e. not remoting everything so that COM+ is
only needed on the server).



HTH,


Thomas


"nico1469" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello all,
>
> My project has many layers - SI (sevice component), Orc
> (Orchestration), BL &DAL. Nowdays i'm using com+ for every layer (Si
> is a service component, others are plain library components - without
> using setabort/setcomplete.
> My question is - why should i use com+ other then for the si? will
> com+
> slow the performance of the application (or maybe accelerate it
> (pooled?) -
> help would be much appreciated !
>
>
> Nico



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:30 PM.