• Post Reply Bookmark Topic Watch Topic
  • New Topic

PUSH Notification+ Polling

 
kri shan
Ranch Hand
Posts: 1480
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java Thread follows PUSH Notification mechanism. ScheduledExecutorService with scheduledDelay is similar to TimerTask and it is doing polling. But ScheduledExecutorService has run() method. Is ScheduledExecutorService mixture of both ( PUSH notification + Polling ) ?
 
Henry Wong
author
Sheriff
Posts: 22526
109
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Perhaps you can define "push notification" and "polling" for us? as your question seems to imply that we know those terms in your context.

Thanks,
Henry
 
kri shan
Ranch Hand
Posts: 1480
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Polling: Application polls the Server (based on polling interval)

Push Notification: Server will push the data to the Application if there is change.
 
Paul Clapham
Sheriff
Posts: 21875
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And what is your "server" in the context of a ScheduledExecutorService?
 
kri shan
Ranch Hand
Posts: 1480
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And what is your "server" in the context of a ScheduledExecutorService?


"server" in the context of a Application Server.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!