Solved

Send Notification

Posted on 2006-10-19
5
295 Views
Last Modified: 2010-03-31
Hi everyone,

To start with my question, how am I going to send a notification message to other computer inside my LAN? for example, I click a button in my app, then it sends a notification message box to the recipient's desktop that the button has been clicked.

A sample source code would be much appreciated.

Thank you very much in advance
0
Comment
Question by:pentacost
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 84 total points
ID: 17771780
0
 
LVL 14

Assisted Solution

by:hoomanv
hoomanv earned 83 total points
ID: 17771875
Read this book: O'Reilly, Java Network Programming, Third Edition
0
 
LVL 4

Assisted Solution

by:astorer
astorer earned 83 total points
ID: 17795099
This isn't something you would usually do.  For a start it needs your 2 computers to know about each other, it needs them both to be available and it needs them both to not have firewalls installed.

A more common approach is to use a similar model to Instant Messaging software.  You have a server that is waiting for messages and everyone sends and gets messages from that server.

PC1 sends message to server addressed to PC2
server receives that message and stores it
PC2 asks server "any messages for me?"
server passes the message to PC2

That means that all of your PCs only need to know 1 address - that of your server.  There is no point to point comms.

Depending on the detailed requirements on the nature of those messages, there may well be software out there already dto do what you want.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now