Global events or messaging.
-
Hi everyone. I'm currently working on an a system consisting of a service with a remote object that performs actions on a xmldatabase and on files on the harddrive, and several UI applications that communicate with this service through the remoteobject. My problem is that the applications with their remote objects are in different scopes even though it's the "same" object so I have no way of notifying the other clients through events, that there's been a change in the database and or files. I can't use a thread in the clients to check for changes, so I'm looking for any other way and I've failed using events. Is there any type of global / interprocess events or messaging that I can use? Any help is much appreciated. -Larantz- for those about to code, we salute you
-
Hi everyone. I'm currently working on an a system consisting of a service with a remote object that performs actions on a xmldatabase and on files on the harddrive, and several UI applications that communicate with this service through the remoteobject. My problem is that the applications with their remote objects are in different scopes even though it's the "same" object so I have no way of notifying the other clients through events, that there's been a change in the database and or files. I can't use a thread in the clients to check for changes, so I'm looking for any other way and I've failed using events. Is there any type of global / interprocess events or messaging that I can use? Any help is much appreciated. -Larantz- for those about to code, we salute you
If you are using 2.0 and SQL Server 2005 you can use SqlNotification.
only two letters away from being an asset
-
If you are using 2.0 and SQL Server 2005 you can use SqlNotification.
only two letters away from being an asset
-
Possibly MSMQ would be an option
only two letters away from being an asset
-
Possibly MSMQ would be an option
only two letters away from being an asset
Hi. Yes I'm using .NET 2.0, but it's not an SQL database. It's just a Windows Service which uses a xml-file for storage / database. My problem is the communication is through remote objects and events won't reach the client applications. Never heard of MSMQ. I'll google it :) -Larantz- -- modified at 5:19 Friday 11th August, 2006 Ah yes Messaging Queue. I tried that a while back with no success. Maybe I did something wrong back then. I'll give it another try. Thx.
for those about to code, we salute you