20 Server Push with Juggernaut
Goal
You need your Rails server to send, in real time, a notification to one specific user, a group of users, or to all connected users.
Solution
Use the Juggernaut Rails plug-in together with the XMLSocket
provided by Flex framework to allow the Rails server to send a notification to your Flex application.
Push Technology
For a brief definition of the concept of push technology, consider this one from Wikipedia:
Push technology on the Internet refers to a style of communication protocol where the request for a given transaction originates with the publisher, or central server. It is contrasted with pull technology, where the request for the transmission of information originates with the ...
Get Flex on Rails: Building Rich Internet Applications with Adobe Flex 3 and Rails 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.