473,322 Members | 1,690 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

COM+.... why?

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
Jul 21 '05 #1
1 1213
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" <er*****@hotmail.com> wrote in message
news:6c**************************@posting.google.c om...
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

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: pieter.breed | last post by:
Hi All, The company I work for has traditionally used COM/ActiveX for the solutions that it provides. We are in the process of moving to .NET and a few applications have been written in VB.NET...
9
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
9
by: gulu man | last post by:
Hi, What is the substitute for COM objects in .NET? How can I create something similar to com in .net? Is it still possible? Thank you
1
by: Praveen | last post by:
Hi, I have installed WebSphere Portal on AIX and connected to DB2 on a remote machine, Getting the followin errors when trying to get the values from database thru applications installed on...
5
by: Duane Pressley | last post by:
I'm looking for someone to help me make sense of the results I'm observing when using the ThreadPool class in a COM-Interop scenario. Here's the set up: 1.. A classic ASP page instantiates and calls...
3
by: Mike | last post by:
I have been developing ASP applications for quite a while now. Most of the apps that I deploy are a typical n-tier setup. ASP GUI on a web server, Business and Data Components written in VB6...
1
by: Brian Henry | last post by:
does anyone have a class to interact with a com or lpt port? I need to be able to send hex codes through the data lines D1 - D8 on a LPT port... or D1-D4 on serial... i have seen classes in the...
1
by: Nadav | last post by:
Hi, Introduction *************** I have a system build of a collection of 'Native COM objects' and '.NET COM interop' objects, all of the COM objects are managed through a 'Native COM' layer,...
26
by: Lasse Edsvik | last post by:
Hello I'm trying to build a simple COM+ app in vs.net using C# and i cant register it in component manager..... what more is needed than this: using System; using...
8
by: Z D | last post by:
Hello, I'm having a strange problem that is probably due to my lack of understanding of how threading & COM Interop works in a WinForms.NET application. Here's the situation: I have a 3rd...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.