473,396 Members | 1,914 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,396 software developers and data experts.

COM+ or Web Service?

Hi,
I have to connect to a distant DLL (.NET DLL) and I would like to know
which of the COM+ or Web service is the best... What are their pros and
cons? I absolutely don't know how COM+ works, so that's why I can't really
compare.

I've seen on the web many people are having trouble using COM+ in .NET. Is
it so difficult to integrate? Are there really bugs or they are just using
it wrong?

btw, I'm using ASP.NET 1.1. (probably C# for a web service if it's the best
way)

Thanks

ThunderMusic
Jan 10 '06 #1
7 1756
Common question and there is a third option in .NET remoting. However
few would recommend this option today.

In short - Web Services are probably going to be more 'future proof' in
terms of interoperability (especially when WCF/Indigo come along) but
Enterprise Services (COM+) is slightly quicker. This doesn't matter so
much if your calls are 'chunky not chatty'.

Read this great article by Rich Turner and Ingo Rammer on MSDN for the
full lowdown:
http://msdn.microsoft.com/webservice...emotesperf.asp

Josh
http://www.thejoyofcode.com/

Jan 10 '06 #2

Huh?

What?

Remoting is the core idea of WCF (nee Indigo).

Josh Twist wrote:
Common question and there is a third option in .NET remoting. However
few would recommend this option today.

In short - Web Services are probably going to be more 'future proof' in
terms of interoperability (especially when WCF/Indigo come along) but
Enterprise Services (COM+) is slightly quicker. This doesn't matter so
much if your calls are 'chunky not chatty'.

Read this great article by Rich Turner and Ingo Rammer on MSDN for the
full lowdown:
http://msdn.microsoft.com/webservice...emotesperf.asp

Josh
http://www.thejoyofcode.com/

--
RSS Feed/Incognito Blog
http://blog.360.yahoo.com/rss-siXzkM...bTlKkOL5SWLA--
Jan 10 '06 #3
I would stay far away from COM+ if I were you. This aging technology is
nearly obsolete, and for good reasons.

Instead you should use Web Services or .NET Remoting. .NET Remoting is
more powerful and efficient than Web Services but could give you more
configuration hassles in complex networking situations.

--
I hope this helps,
Steve C. Orr
MCSD, MVP
http://Steve.Orr.net

"ThunderMusic" wrote:
Hi,
I have to connect to a distant DLL (.NET DLL) and I would like to know
which of the COM+ or Web service is the best... What are their pros and
cons? I absolutely don't know how COM+ works, so that's why I can't really
compare.

I've seen on the web many people are having trouble using COM+ in .NET. Is
it so difficult to integrate? Are there really bugs or they are just using
it wrong?

btw, I'm using ASP.NET 1.1. (probably C# for a web service if it's the best
way)

Thanks

ThunderMusic

Jan 11 '06 #4
Well, I'd say it as harsh as Steve does. COM+ is going to be replaced by
Windows Presentation Foundation aka Indigo.

So, for you, the best way would be using Web Services. They are pretty
"easy" to implement and I think, they'll fit your requirements.

Greetings, Peter

"Steve C. Orr" <St***@Orr.net> schrieb im Newsbeitrag
news:E2**********************************@microsof t.com...
I would stay far away from COM+ if I were you. This aging technology is
nearly obsolete, and for good reasons.

Instead you should use Web Services or .NET Remoting. .NET Remoting is
more powerful and efficient than Web Services but could give you more
configuration hassles in complex networking situations.

--
I hope this helps,
Steve C. Orr
MCSD, MVP
http://Steve.Orr.net

"ThunderMusic" wrote:
Hi,
I have to connect to a distant DLL (.NET DLL) and I would like to
know
which of the COM+ or Web service is the best... What are their pros and
cons? I absolutely don't know how COM+ works, so that's why I can't
really
compare.

I've seen on the web many people are having trouble using COM+ in .NET.
Is
it so difficult to integrate? Are there really bugs or they are just
using
it wrong?

btw, I'm using ASP.NET 1.1. (probably C# for a web service if it's the
best
way)

Thanks

ThunderMusic

Jan 11 '06 #5
I believe you mean Windows Communication Foundation aka Indigo.
Windows Presentation Foundation aka avalon is the new graphics
subsystem.

Going forward, I would lean more towards the .NET remoting solution
over the webservice approach. I have listed several reasons below:

- .NET Remoting is faster and better optimized over webservices
(Today)
- .NET Remoting will provide an easier route forward, regardless of
whether you switch to Webservices or stick with the higher performing
binary protocol.
- Webservices might not provide an easy way forward.

..NET remoting is straight up faster and more efficient than
webservices. This is true of today anyways. Who knows in the future,
with the speed of webservices coming in leaps and bounds.

Under Indigo, the only difference between a WebService service and a
Indigo Service is a change of configuration files. If you have a .NET
indigo service and later decide to switch it over to a webservice type
application it should be as easy as a config file switch.

If you properly design today for a Remoting Application (following the
interface recommended approach), then the migration path forward for
WCF/Indigo services will be clearer and have more support. Here is a
page talking about the future of .NET remoting.
http://blogs.msdn.com/richardt/archi.../05/84771.aspx

Webservices may not provide such a supported or easy way forward, then
again, it may as well. Time will tell.
Cheers,
Adam Cooper
-------------------------------------------------------------------------------------------
J-Integra Interoperability Solutions
http://j-integra.intrinsyc.com/
java, corba, com & .net interoperability middleware

Jan 11 '06 #6
Thundermusic

If it is Intranet than I think that it is a personal preference however a
webservice it easy to make with Net 1.x.

If it is Internet than I think that a webservice in ASPNET 2.0 is the future
way to go. By instance because of security reasons.

If you use for the webservice C# or VB.Net is not so important, just your
preference, they do exactly the same.

Just my idea.

Cor
Jan 11 '06 #7
So, right now if you need Transaction, Object Pooling and the ability to use
Queing capability, what other option do you have beside COM+?
Peter Nowak wrote:
Well, I'd say it as harsh as Steve does. COM+ is going to be replaced by
Windows Presentation Foundation aka Indigo.

So, for you, the best way would be using Web Services. They are pretty
"easy" to implement and I think, they'll fit your requirements.

Greetings, Peter

"Steve C. Orr" <St***@Orr.net> schrieb im Newsbeitrag
news:E2**********************************@microsof t.com...
I would stay far away from COM+ if I were you. This aging technology is
nearly obsolete, and for good reasons.

Instead you should use Web Services or .NET Remoting. .NET Remoting is
more powerful and efficient than Web Services but could give you more
configuration hassles in complex networking situations.

--
I hope this helps,
Steve C. Orr
MCSD, MVP
http://Steve.Orr.net

"ThunderMusic" wrote:
Hi,
I have to connect to a distant DLL (.NET DLL) and I would like to
know
which of the COM+ or Web service is the best... What are their pros and
cons? I absolutely don't know how COM+ works, so that's why I can't
really
compare.

I've seen on the web many people are having trouble using COM+ in .NET.
Is
it so difficult to integrate? Are there really bugs or they are just
using
it wrong?

btw, I'm using ASP.NET 1.1. (probably C# for a web service if it's the
best
way)

Thanks

ThunderMusic


Jan 13 '06 #8

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

Similar topics

9
by: Hardy Wang | last post by:
Hi all: I read an article from http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp about how to install a windows service programmatically. Based ont the code...
1
by: Pavel Kocar | last post by:
Hi, I can't start my service. This service run as user (with user right, security "run as service"). This service want to create COM + application run under this same user. If I want to start my...
1
by: A.J. | last post by:
I'm writing an application that will run as a Web Service. It will communicate with some old COM DLLs. These COM objects need to be called on their own thread. In a regular Web Service I would...
2
by: ianLOSEatTHEaltispartnersCAPS.com | last post by:
Hello, First and foremost appols for what must be the n-billionth "new programmer" post you've had but if someone could see their way clear to helping me, or just recomending some reading I...
23
by: Adam Clauss | last post by:
I have a C# Windows Service running as the NetworkService account because it needs to access a network share. As part of the service's initialization, I want the service to terminate, if an...
4
by: Steven | last post by:
I have a unmanaged (written in Delphi 6) COM+ Web Service I am accessing through C#.NET. The Web Service takes an string containing a formatted xml read through StreamReader. The problem I am...
1
by: Prashant | last post by:
We have an ATL COM server developed with VC++ 6.0 which acts a a server . Then we have VB6 modules Acting as clients and interfacing with the server . We want to migrate the ATL COM server...
2
by: Richard Collette | last post by:
Hi, I have a service, that runs perfectly when executed outside of the web service environment. When called as a web service I get the exception listed below sporadically. A call to the web...
4
by: kkt49 | last post by:
# vim: et sw=4 ts=8 sts from wxPython.wx import * import sys, os, time import pywintypes import win32serviceutil import win32service import win32event import win32process
0
by: pdube | last post by:
I have been trying for a few weeks to have a service that calls a COM in .NET I made a service in .NET following simple instructions I found on the web. It worked fine. Then I needed to make a...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.