The Artima Developer Community
Sponsored Link

Java Answers Forum
General Question - User Notification

5 replies on 1 page. Most recent reply: Feb 20, 2006 8:30 AM by Dileban Karunamoorthy

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 5 replies on 1 page
Ken Sloan

Posts: 35
Nickname: sloan
Registered: Sep, 2003

General Question - User Notification Posted: Feb 16, 2006 10:29 AM
Reply to this message Reply
Advertisement
A little problem I'm hoping someone can help me with.

I'm working on a trouble-tracking system, in which problems are logged and assigned to various individuals for resolution. All well and good, except that once someone has been assigned, I would like to notify them somehow that it has happened.

I have not found any approach by which I can get Java to pop up a message dialog on someone else's PC. I can pop 'em up all day long on mine, but not on another PC in the network.

I have considered sending them an e-mail, but I am currently working in J2SE, not J2EE. While I have no theoretical objection to upgrading to enterprise edition, I would have to do some research and planning first, and I'd like a quicker solution if possible.

Any suggestions would be greatly appreciated.


Matthias Neumair

Posts: 660
Nickname: neumi
Registered: Sep, 2003

Re: General Question - User Notification Posted: Feb 16, 2006 11:47 PM
Reply to this message Reply
If you don't want to use windows' "net send" command, you have to start a client application on the users computer which receives the message and displays it.

Ken Sloan

Posts: 35
Nickname: sloan
Registered: Sep, 2003

Re: General Question - User Notification Posted: Feb 17, 2006 5:09 AM
Reply to this message Reply
Thanks for the reply.

I think using net send could work...aren't there some security issues with having the Messenger service always running, though?

Also, can you point me to a good resource for learning about starting client applications on the user's PC?

Ken Sloan

Posts: 35
Nickname: sloan
Registered: Sep, 2003

Re: General Question - User Notification Posted: Feb 17, 2006 5:34 AM
Reply to this message Reply
> Also, can you point me to a good resource for learning
> about starting client applications on the user's PC?

What I mean is starting them remotely from another PC.

Matthias Neumair

Posts: 660
Nickname: neumi
Registered: Sep, 2003

Re: General Question - User Notification Posted: Feb 20, 2006 12:42 AM
Reply to this message Reply
Simple Answer: Legally not possible.

Most securty systems try to PREVENT starting applications on a client computer.

You always have to start at least ONE application on the client computer directly, this application then can launch other applications.
If you create an applet for example, the clients Internet Browser launches this applet.

Dileban Karunamoorthy

Posts: 9
Nickname: dileban
Registered: Feb, 2006

Re: General Question - User Notification Posted: Feb 20, 2006 8:30 AM
Reply to this message Reply
Sending net sends (and I don't think they pose a serious threat internally) or starting applications remotely doesn't sound all that practical. There's nothing more irritating than to see a message pop-up while you are in the middle of something or, to see an application conjure up all of a sudden. I think your initial thought on sending emails is neat solution, and also provides a nice way for users to log a history assignments, see what has been done and mark off completed assignments.

For the time you spend learning how to send net sends or startup client apps, you could probably get email notifications working right away. Here's a nice link to start with:

http://javaalmanac.com/egs/javax.mail/SendApp.html

/Dileban

Flat View: This topic has 5 replies on 1 page
Topic: Email Link to carry the form values to the Specified mail Id Previous Topic   Next Topic Topic: Programming K-map

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use