Flex Ajax Bridge, or any other push method with ColdFusion?
Is it easy to implement Flex Ajax Bridge with ColdFusio开发者_StackOverflow中文版n? 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
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.
I wouldn't recommend it since it would add considerable overhead just for push messaging. I would recommend you look at Comet for push messaging over long polling or Solace's Web Messaging which I've worked with and was very good.
PS. I have no clue about this working with Coldfusion.
Sounds like something that BlazeDS would be good for... http://opensource.adobe.com/wiki/display/blazeds/BlazeDS
精彩评论