That should be it. You now be able to boot up you Lift app, launch the Flex app, click the “Subscribe to ‘notifications’” to start the Notifier Actor and subscribe to the Consumer to the notifications destination. You should then see id number and the time in the text input field get automatically updated every 0.5 seconds. You can the click the “Unsubscribe from ‘notifications’” to stop the Notifier actor and the Consumer to unsubscribe from the notifications destination. Pretty exciting. With these three technologies it’s really easy to automatically push data from the server to the client in real time. This is obviously a trivial example, but I think it should be relatively straight forward to scale this approach up for more sophisticated apps.
BlazeDS is the server-based Java remoting and web messaging technology that enables developers to connect to back-end distributed data and push data in real-time to Flex® and AIR™ applications with features Remoting provides a call/response model for accessing external data from FlexAjax applications. Developers create applications that make asynch requests to remote services, including HTTP, SOAP and RMI Java objects.Transparent data transfer between AS and Java data types, including Java5 enumerations * proxy avoids browser limitations such as "x domain restriction" and inability to s/get headers and see errors. this is specifically for SOAP and HTTP (REST) services. * AMF Provides binary format for data (de)serialization and RMI. AMF significantly increases delivery performance compared to using plain XML over HTTP or WS * pubsub over HTTP * Ajax client lib * Flex apps pubsub to JMS queues * directly expose components in frameworks ie Spring to Flex clients wo writing code