Search code examples
javascriptapache-flexcoldfusionwebsocketserver-sent-events

Flex Ajax Bridge, or any other push method with ColdFusion?


Is it easy to implement Flex Ajax Bridge with ColdFusion? Where can I learn how to use it? My frontend is pure HTML+JS and I just need the push capability. I thought of using Websocket Event Gateway and Server Sent Event (aka EventSource) but seems like they don't have much browser support quite yet. Any experience with either one of them are welcome. Any pure jQuery short/long polling option? Any good Server Sent Event polyfill solution available for older browsers?

Thanks


Solution

  • Henry,

    Its pretty easy to use the Flex-Ajax Bridge. Take a look at my blog posts on BlazeDS. http://nil.checksite.co.uk/index.cfm/BlazeDS They all use the Flex-Ajax Bridge, but be aware, the FA Bridge and BlazeDS do not do push. Its all polling or amf. You'd need to look at LiveCycle for more protocols.

    Comet is also longpolling not push.

    The closest you're going to get to "push" is interfacing with websockets and pusher (you just know that Ben Nadel has written about this) or using node.js with now.js.