remoting vs com

C#

    Next

  • 1. does a singleton StatusBar controller sound corrrect?
    hi , Does a singleton statusbas controller sound correct. I mean , is that how its done? I have a big app and i need to control the statusbar from within a number of custom controls , dynamic menus and toolbars etc. So should i have the aforementioend class? I'm thinking singleton so its instance is globally accesssible? Gideon
  • 2. HELP - Find Row Index by value in DataGridView
    Hi I am looking for examples of how to find the row index in a Datagridview control by comparing a string value to the value in a Cell. Thanks Brian
  • 3. MODI viewer control register error?
    Hi all, i have to developing a document processing project using microsoft office document imaging(MODI) library in visual studio 2005. My problem is when i adding MODI viewer control to the toolbox and drag it into windows form,it will thrown "Failed to import the activex control.Please ensure it is properly registered" error..please let me right what i did wrong.. thanks in advance
  • 4. Unable to get installer types[for my dll], unable to load one or more of the requested types, Retrieve the LoaderExceptions property for more information
    Hi, I have created a C# application in .Net and then created the setup using .Net and using installer class. Now whenever i am installing that application on a system with Visual Studio Installed then it works fine and whenever i install the setup after uninstalling the Visul Studio-2005, then it gives exception at the time of installation as:- "Unable to get installer types[path of my dll i.e:- c:/program files/ myapp/myapp.dll ], unable to load one or more of the requested types, Retrieve the LoaderExceptions property for more information" Any suggestions will be helpfull to me. Thanks, Ambed

remoting vs com

Postby 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

Postby 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

Postby 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

Postby 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

Postby 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

Postby 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



Return to C#

 

Who is online

Users browsing this forum: No registered users and 75 guest