O'Reilly logo

Flex on Rails: Building Rich Internet Applications with Adobe Flex 3 and Rails 2 by Daniel Wanja, Tony Hillerson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required