tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <>
Subject Re: how to pop up a window requested by server
Date Thu, 28 Jun 2007 16:51:10 GMT
Thanks for ideas. But the poll is consuming resource even when no messages. Is there a way
for server to push something to client?

David Delbecq <> wrote:
  If you use Ajax4Jsf, you can use a4j:poll to have a part of your page
refreshed every x milliseconds using javascript. In this part you could
put your code to popup something on B if there are new messages.
En l'instant pr‰[is du 28/06/07 14:36, Dave s'exprimait en ces termes:
> We have a JSF application running on JBoss/Tomcat, and have a requirement for users to
send short instant messages. When user A sees user B online and wants to talk with him/her:
> 1. A clicks a button, pop up a window to chat with B
> 2. On B's machine, pop up a chat window.
> How to implement the second? We think about using Applet, are there other ways ?
> Thanks for any idea on how to implement this for JSF application.
> Dave
> ---------------------------------
> Boardwalk for $500? In 2007? Ha! 
> Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message