rajdivecha
Jan 20th, 2004, 12:15 PM
The concept is
Client application on Machine A,B,C etc. should be able to use a Server component on Server Machine Z. All this Machines A,B,C & Z are in the same Domain.
But only 1 instance of the Server Component should server all the client apps.
We did this in VB. Configured the DCOM properly. All the client machines are able to instantiate the Server Component.
BUT the requirement is that only one instance of the Server component should server all the client applications, here every client apps are getting different instance of the Server component.
We tried with SingleUse & GlobalMultiUse Instancing also but nothing worked out.
And somebody told us that this cannot be achieved by DCOM, but was not sure.
****** SO THE BIG QUESTION IS ******
Is DCOM the right way to implement remote automation ?
Or we need to look for some other alternative.
****** The Requirements ******
1. N number of Client components talk to the same Server Component.
2. Server component could Raise events that will be handled in every connected client app.
3. Server component also uses one database that is on the same machine as that of the Server Component.
WHAT CAN BE THE VARIOUS ALTERNATIVES TO IMPLEMENT THIS CONCEPT ? AND WHICH WOULD BE THE RIGHT WAY ?
Client application on Machine A,B,C etc. should be able to use a Server component on Server Machine Z. All this Machines A,B,C & Z are in the same Domain.
But only 1 instance of the Server Component should server all the client apps.
We did this in VB. Configured the DCOM properly. All the client machines are able to instantiate the Server Component.
BUT the requirement is that only one instance of the Server component should server all the client applications, here every client apps are getting different instance of the Server component.
We tried with SingleUse & GlobalMultiUse Instancing also but nothing worked out.
And somebody told us that this cannot be achieved by DCOM, but was not sure.
****** SO THE BIG QUESTION IS ******
Is DCOM the right way to implement remote automation ?
Or we need to look for some other alternative.
****** The Requirements ******
1. N number of Client components talk to the same Server Component.
2. Server component could Raise events that will be handled in every connected client app.
3. Server component also uses one database that is on the same machine as that of the Server Component.
WHAT CAN BE THE VARIOUS ALTERNATIVES TO IMPLEMENT THIS CONCEPT ? AND WHICH WOULD BE THE RIGHT WAY ?