COM+ in C#

  • Thread starter Thread starter Irfan
  • Start date Start date
I

Irfan

hi there,

I have 4 servers running a COM+ app. within their own
COM+s on Windows 2000. I mean, the same COM+ app. is
replicated on these 4 servers and each server uses its own
COM+ app.

Now, I have another PC having say a monitor application
that refers to the COM+s running on the 4 servers..

the trouble is how cud I specify the location of each of
these servers? I guess I should specify the IP address for
each of these servers.. but I don't know how I could do
that in C#.

any guess, help, I shall thanks a ton..

irfan
 
If you are trying to implement load balancing, you are better to farm the 4
application servers (COM+ servers) and vitrtualize the resource with a load
balancing app. This will reduce the code you have to write.

Beyond that, I am not sure I understand what you are trying to do. Sure, you
can code in different app servers, but you are better to contact COM+ from
COM+, as it has mechanisms built in. There is no inherent load balance
technique, so you will either have to buy or code, if this is your intent.
While buying is costly, it is far less expensive than writing one of your
own.

As an option, you could use remoting to set up a web service on each of the
COM+ boxes. (NOTE: I use this term more like Don Box than the strict
doctrine that states that only ASMX files are web services). The web service
will "wrap" the COM+ applications to simplify the interface. A bit more
weight, but certainly less expensive than rolling your own COM+ balancer.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
Back
Top