473,725 Members | 2,118 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET Remoting vs COM+ Serviced Component

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.
Apr 19 '07 #1
2 4681
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

BI am currently working on moving our business objects into COM+
Bserviced components. But in the process, there are too many changes
Bsuch ComVisible and serviced component does not support parameterized
Bconstructors. So I am thinking whether I should change to use .NET
Bremoting instead.
B>
BHave anybody else gone through this .NET remoting vs serviced
Bcomponent
Bcomparison before? Which one is better?
BCan .NET remoting support object pooling and other features provided
Bby COM+.
BBy the way, I am not planning to use COM+ transaction control and
Bsecurity.
B>
BThanks a lot.
B>
Apr 19 '07 #2
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.
"Michael Nemtsev" wrote:
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

BI am currently working on moving our business objects into COM+
Bserviced components. But in the process, there are too many changes
Bsuch ComVisible and serviced component does not support parameterized
Bconstructors. So I am thinking whether I should change to use .NET
Bremoting instead.
B>
BHave anybody else gone through this .NET remoting vs serviced
Bcomponent
Bcomparison before? Which one is better?
BCan .NET remoting support object pooling and other features provided
Bby COM+.
BBy the way, I am not planning to use COM+ transaction control and
Bsecurity.
B>
BThanks a lot.
B>
Apr 19 '07 #3

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

Similar topics

3
5251
by: Joseph | last post by:
Please any help will do!!!! I have several issues implementing serviced components with .NET framework. Please stop a few minutes to read the issues found on my application. This is an academic project emulating an online billing software for a health care facility. My application is divided into different projects which they map to the logical layers that microsoft suggests for architectural design. 1.. A presentation layer that is...
26
4477
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 System.EnterpriseServices;
2
1339
by: Ansari | last post by:
hi all, I want to use serviced component in ASP.NET any walkthrough or link to a resource. I have tried a lot but serviced component could be initialized in ASP.NET page. However I can successfully access the component in windows application. Is there some extra efforts required to use serviced components in ASP.NET? any suggesstion or link will be highly appreiciated....
0
1265
by: Mark Mims | last post by:
I am having a problem with a .NET serviced component running in MTS trying to call a web service on a remote machine on our internal network. The serviced component is using a domain account for authentication. When making the same call from a windows application it works successfully, but throught the serviced component I get this error, File or assembly name 5vb_bpv7.dll, or one of its dependencies, was not found. The ddl in the error...
1
1253
by: AVL | last post by:
Hi, I'm a newbie to COM n Serviced Component architecture..I've developed a serviced component and registered it as a COM component usinf Regsvcs tool of .net... This serviced component has a Amount property which is of type long. Whenever I try to use the Amount property in my ASP page, it's giving me the below error "Variable uses an Automation type not supported in VBScript"...
4
2969
by: Praveen Chandra | last post by:
Hi, I just wanted to put down the issue with more detailed information so that you can help us get to the right Microsoft resource for a solution! Here is the problem description... Our intent: Accept the COM or COM+ class name, function-name and input parameter (fixed string parameter) as string inputs and execute(invoke) the function at run time.
1
1886
by: Pete Wittig | last post by:
Hi, I am trying to create a Setup and Deployment project for a Serviced Component. In my solution I have two projects. The first is the class library that contains my serviced component as well as an installer class. The second is the setup and deployment project. I have added the "Global Assembly Cache Folder" to the "File System on Target Machine". I then copied the files in the "Application Folder" into the "Global Assembly Cache...
0
1329
by: =?Utf-8?B?QkY=?= | last post by:
I am trying to work on Serviced Component in .NET 2.0 environment. I don't see much information about serviced component in .NET 2.0 environment. I worked on serviced component 2 years ago with .NET 1.1, which is not so easy to use. Can anybody tell me whether we have new features in .NET 2.0 to make serviced component easier to use? Thanks a lot.
5
1620
by: =?Utf-8?B?QkY=?= | last post by:
I want to improve the response time of my application. I have 3 options: 1. Run both ASPX pages and our business objects on web server and use web farm technology. 2. Move our business objects to COM+ as serviced components. Then run our web pages on web servers in a web farm. And run COM+ on other clustered servers. 3. Move our business objects to .NET remoting or web service. Run our web pages on one web farm. Run .NET remoting or...
0
8888
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8752
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9401
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9113
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3221
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.