This week's book giveaway is in the OCP forum.
We're giving away four copies of OCP Java SE 8 Programmer II Exam Study Guide and have Kathy Sierra, Bert Bates, & Elizabeth Robson on-line!
See this thread for details.
Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Broadcast Notification to Users  RSS feed

 
Ranch Hand
Posts: 1826
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way for me as administrator of a web app to send a dynamic message(screen popup) to all users currently accessing the web app?
 
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Web applications are built using HTTP, which does not support pushing request to clients.
 
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use a periodic Ajax request to see if there are any pending messages.

AFAIK all the push stuff isn't even remotely cross-browser yet, so there aren't too many options.
 
Sheriff
Posts: 3015
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wikipedia's article on push technology is a good place to start.
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi dude try with Atmosphere/Comet or iceFaces


good luck!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!