.NET Remoting vs COM+ Serviced Component

G

Guest

I am currently working on moving our business objects into COM+ serviced
components. But in the process, there are too many changes such ComVisible
and serviced component does not support parameterized constructors. So I am
thinking whether I should change to use .NET remoting instead.

Have anybody else gone through this .NET remoting vs serviced component
comparison before? Which one is better?
Can .NET remoting support object pooling and other features provided by COM+.

By the way, I am not planning to use COM+ transaction control and security.

Thanks a lot.
 
M

Michael Nemtsev

Hello BF,

Object pooling is the COM+ feature.

Does only the COMVisibility attriribute inspur u to switch on Remoting? Or
smth else?

We've been using COM+ for 3 years and I found it more usable over remoting.
COM+ is faster in some scenarious and more flexible to be migrated to WCF.



---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

B> I am currently working on moving our business objects into COM+
B> serviced components. But in the process, there are too many changes
B> such ComVisible and serviced component does not support parameterized
B> constructors. So I am thinking whether I should change to use .NET
B> remoting instead.
B>
B> Have anybody else gone through this .NET remoting vs serviced
B> component
B> comparison before? Which one is better?
B> Can .NET remoting support object pooling and other features provided
B> by COM+.
B> By the way, I am not planning to use COM+ transaction control and
B> security.
B>
B> Thanks a lot.
B>
 
G

Guest

One major reason I am hesitating to user COM+ serviced components is because
serviced component does not support parameterized constructors. I need to
make lots of changes in my code.
The other one, which could cause issues in the future is that if a Class is
derived from Generic List, it cannot be a serviced component. Microsoft said
they have already fixed this issue. But I still have this problem in my
development environment.

Thanks a lot.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top