remoting vs com
by Sharon » Fri, 05 Dec 2003 12:30:10 GMT
hi all.
i don't know much about com or .net remoting so this question might be a
little confused.
as far as i understand com system provides about the same functionality as
ejb
meaning that it has to have some kind of container.
an application server like jboss in the case of ejb.
in .net remoting i can register my service classes without the need for an
application server.
so is there any advantage to using com / application server?
when you'll have to build a distributed application which method will you
choose?
is com going to become legacy?
10x much.
Re: remoting vs com
by David Browne » Fri, 05 Dec 2003 15:42:34 GMT
COM (nee ActiveX, nee OLE) = Component Object Model
COM+ (nee MTS, aka Component Services, aka Enterprise Services) =
Application Server
COM is definitily on the way out. COM+ is not.
COM+ offers a range of services for running your service classes. (Lifetime
Services, Queued Components, Object Pooling, Contexts etc). You can use
these or do without quite easilly. For instance COM+ allows you to drop in
a service class and run it as a service. You can also just write a service,
open a remoting channel, and you've got your own application server.
David
Re: remoting vs com
by Krishnan » Fri, 05 Dec 2003 17:02:55 GMT
This might be a bit offbeat.
I have used COM with VB, but not COM+ much. I heard that COM+ server does
not provide object pooling although the UI has the facility to set the
object pool size! Is this true?
Krishnan
"David Browne" <davidbaxterbrowne no potted XXXX@XXXXX.COM > wrote in
as
an
you
(Lifetime
in
service,
Re: remoting vs com
by Sharon » Fri, 05 Dec 2003 22:59:25 GMT
got it .
10x :)
one more question:
is com+ replacing dcom as well?
"David Browne" <davidbaxterbrowne no potted XXXX@XXXXX.COM > wrote in
as
an
you
(Lifetime
in
service,
Re: remoting vs com
by David Browne » Sat, 06 Dec 2003 00:00:47 GMT
DCOM is the remoting protocol for COM.
COM+ uses DCOM for remoting COM objects.
So as COM components are replaced by .NET assemblies, DCOM is replaced by
.NET remoting.
David
Re: remoting vs com
by Sharon » Sat, 06 Dec 2003 14:07:58 GMT
10x again for moving things into place :)
"David Browne" <davidbaxterbrowne no potted XXXX@XXXXX.COM > wrote in
Similar Threads:
1.dcom vs com+ vs remoting
Hello.
I am doing a research on dcom, com+ and remoting.
We are about to develop a web application consisting 3 tiers ( web server,
application server, db server )
We are going to develop front end in asp.net and ms sql in the back end.
The middle tier mostly will be grabbing data from the db and give the result
to the front end.
I'd like to know what would be the better way to do this.
Should I use only one object in the middle tier that communicate to all the
threads requested from the web server? ( i'd like to know the pres and
cons )
I heard that dcom is better than com+ in particular situation so I'd like to
know in what situation remoting would be the best fit in the middle tier and
why
Thanx in advance
2.Windows-service remoting - IPC vs. COM
Hi,
i am developing a windows service in C# with the .NET framework 2.0
which must be configured by different applications (VB 6.0 and C#).
I need one single object which should be used (how its made by the
IPC-remoting-mechanism). But it seems to me that i can't use the
IPC-channel mechanism for the VB 6.0 applications. So i wanna use a COM
component in VB 6.0. I think i can use a COM wrapper to use the
IPC-mechanism under VB 6.0, but it would be better to use only one
technique (so i guess this must be COM).
But can i do the same things with com as with IPC ? Can i use one
single object for all applications? And can i use event-handling like
with IPC-remoting?
Thank you for your information.
3.Remoting vs. COM GetObject()
4.Remoting Server and COM calls (slow COM calls)
Hi all,
I have a remoting server (console app at the moment) which hosts a
SingleCall object. This object makes several calls to a COM (3rd party)
object to retrieve data. I have noticed that the calls are about 10 times
slower when the object is remoted vs. in-process. I have read through the
newsgroups and it appears the problem is based on the fact that the Remoting
Infrastructure uses MTA threads to handle requests. Is this correct? If
so, how do I get object to run on a STA thread?
TIA
Cole
5.Subject: Remoting Server and COM calls (slow COM calls)
Hi all,
I have a remoting server (console app at the moment) which hosts a
SingleCall object. This object makes several calls to a COM (3rd party)
object to retrieve data. I have noticed that the calls are about 10 times
slower when the object is remoted vs. in-process. I have read through the
newsgroups and it appears the problem is based on the fact that the Remoting
Infrastructure uses MTA threads to handle requests. Is this correct? If
so, how do I get object to run on a STA thread?
TIA
Cole
6. Remoting Server in C# Outlook COM Add-in?
7. COM DLL works fine in C# but not when using Remoting
8. .net remoting and COM