COM Activation
-
If I have a COM+ Component(EnterpriseServices). If I have the activation set as server and I instantiate it in 2 places do they both get the same instance? And if not is there a way around this? Thanks. Steve Not all who wander are lost...
-
If I have a COM+ Component(EnterpriseServices). If I have the activation set as server and I instantiate it in 2 places do they both get the same instance? And if not is there a way around this? Thanks. Steve Not all who wander are lost...
You have two options for server-activated objects: Singleton and SingleCall. In the case of Singleton, the remoting will only create one instance and every client-call will be routed to the same instance. In case of SingleCall, every client-call will be served by a completely new instance of your server object. Rude :-O