File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Send popup from Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Send popup from Java" Watch "Send popup from Java" New topic

Send popup from Java

java RS

Joined: May 11, 2009
Posts: 1

Whenever I update a site I should send a popup to the perticular customers saying that " Site Updated " from Java. Is this possible. If yes please tell me how to do this.

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46367
Please read the important administrative private message I just sent you.
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 1138

Just a thought......

use RSS

I agree. Here's the better link:

Nitesh Kant

Joined: Feb 25, 2007
Posts: 1638

Firstly, you have to define what is it you mean by a pop-up? In web world a pop-up is a new window that is opened by a webpage without an explicit command for the user. It is usually a hindrance to the user experience and most of the people use a popup-blocker to avoid such things.
So, it might not be a good idea to give important information about the site update using a pop-up.

If you just want to send the update information, one simple way how people do this is by taking the email-id of the user and send the update information via a mail.

apigee, a better way to API!
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 1138

i would still prefer RSS.

emails would be a sort of hinderence too.
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 1138

another way of doing it:

place a cookie that records current timestamp (from SERVER)

when the client opens the website the browser sends the timestamp to server

server checks last updated date and timestamp, if they do not match, server sends back message to client,
client displays popup to user.

This will work only when Client OPENS the given url again.
I agree. Here's the link:
subject: Send popup from Java
jQuery in Action, 3rd edition