23.11.11

Using Browser Push in Grails | Javalobby

Using Browser Push in Grails | Javalobby


I collected this post here because I want to mark something about Browser Push, which I could find within the post.

Browser Push is the collective term for techniques that allow a server to send asynchronous data updates in near real time to a browser. This article provides an overview of browser push and then provides a sample of Grails usage by extending the example project from the ‘Using JMS in Grails‘ article in the June 2011 edition to send event-driven updates to the browser.

The seconds section is "How does browser Push work?"

Figure 1: Polling request-response
Figure 2: Long polling
Figure 3: HTTP Streaming
Figure 4: WebSocket event propagation (HTML5)
It also cover other TERMS of techniques:
  • What about Comet / Reverse AJAX?
  • Is that the same as Continuations?
  • And the Bayeux pub/sub protocol?
  • What are the core challenges?
  • What Grails plugins are available?
I also like this data flow notation:


Figure 5: Example data flow







No comments: