473,396 Members | 1,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Notification messages

Hello All,

I am designing a winforms application which talks to web services via VPN/LAN(.Net framework 2.0).
The application mostly deals with load/modify/insert data data in a SQL 2k5 DB.

Since I wanted the application to be simple to develop and be scalable, I found web services to be the way to go. But now, there's an additional complexity of broadcasting messages to all clients.

A client should be able to send messages to all the other clients currently logged in. Also, specific events like locking,etc should be notified(When a user starts editing a form, all the other clients should be notified of the event and should be prevented from editing the same form).

What will be the best way to implement such a functionality?

Sockets? Remoting? Any suggestions?

Thanks.
Arun
Jul 7 '08 #1
2 1175
A client should be able to send messages to all the other clients currently logged in. Also, specific events like locking,etc should be notified(When a user starts editing a form, all the other clients should be notified of the event and should be prevented from editing the same form).
I don't understand why you would want to announce all this to other users. Seems like it would take up a lot of bandwidth even over a lan if you have a notification that someone is doing something so small. I don't think I am understanding this correctly. What I did was when something happened I had it collect under a logic of sql queries. Then I would have those queries linked into a table where it would be veiwable to a web page. When something met a certain amount of standards I had set the program followed protocol and if it was important enough it got sent in an email to those who where effected. I geuss thats what you are asking. I'm not sure. Some explanation would be nice.
Jul 7 '08 #2
I don't understand why you would want to announce all this to other users. Seems like it would take up a lot of bandwidth even over a lan if you have a notification that someone is doing something so small. I don't think I am understanding this correctly. What I did was when something happened I had it collect under a logic of sql queries. Then I would have those queries linked into a table where it would be veiwable to a web page. When something met a certain amount of standards I had set the program followed protocol and if it was important enough it got sent in an email to those who where effected. I geuss thats what you are asking. I'm not sure. Some explanation would be nice.
Hi,

The purpose of the GUI is to modify domain data in the back end. Say, for example, a user is modifying Product information in the DB. I request for product information and the client opens up a datagridview with product data. Now, I start editing the grid. When I do this, I would like to lock this functionality out to all the other users saying "User A has locked Product maintenance". I dont want to do this when the user submits the form because, the user might spend some time making his changes only to find that they are useless because some one else is already editing the info. If I queue the requests, I need to synchronise the two versions from the 2 users(which I dont want to do).

Hence, I would like a method by which all the clients "Listen" for any notification like this and lock out any bits required. And the server, will listen for the client messages and notify the others.

The other bit of functionality is simple messaging. An administrator might want to notify all the clients logged in that "The system will go down for maintenance in x minutes..please save your changes".

I currently have an architecture with winforms and web services. I would like to extend this to incorporate these features and I am looking for ways to implement this.

Thanks
Arun
Jul 7 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Rene Aguirre | last post by:
Hello, I'd like to make a sort of web tracking system for internal stuff at my office. But I'm having problems about how to add email notification to my script. I already tried to send email...
0
by: Mail Delivery Service | last post by:
This multi-part MIME message contains a Delivery Status Notification. If you can see this text, your mail client may not be able to understand MIME formatted messages or DSNs (see RFC 2045 through...
4
by: Grady | last post by:
Hi. I need to create a simple database that tracks equipment arrivals at my facilities. What I want is to create a simple form, which the receptionist could fill out, every time someone delivers...
0
by: Eron Wright | last post by:
We heavily use the ASP.NET Cache with file dependencies. The files are located in approximately 200 directories (I understand that monitoring largely occurs on a per-directory basis). As of...
1
by: KVERMEE | last post by:
Hi I have an external application running in the background. When it starts it, adds an icon to the notification area (system tray). The application monitors some things and show messages. The...
0
by: Neil Woolford | last post by:
I'd like to be able to pop up a notification bubble like the ones used by Ubuntu for 'updates available' etc. In particular I'd like to be able to use them to warn users of other machines that I...
3
by: geskerrett | last post by:
We have been asked to develop and application for a client that is a 'notification" system. We would like to use python, but are struggling to find the right starting point. Any suggestions, tips...
2
by: Knokmans | last post by:
Hi, first, this concerns db2 v8 and v9 on AIX and Linux/intel Until now we used a "user exit" when we want to archive logfiles. We changed the user exit executable a bit so we receive an email...
3
by: Sam Durai | last post by:
Is there any method available in DB2 V8 to retrieve only the Warning or Severity messages from the notification log ? PS: I'm looking for something similar to PD_GET_DIAG_HIST function available...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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,...
0
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...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.