This content has been marked as final. Show 4 replies
The use case you've defined can easily be addressed by using Timer class that ticks an event after a given timespan and sendinga HTTPService request to the server on the tick.
For more involved apps BlazeDS has built-in messaging mechanism:
Thanks for the reply. Looks like in the collaborative data enter example you mentioned it required an extra step on the user end to create a session first, thats some what in the lines for creating a chat session. Which is what I am trying to avoid. Is it possible for yourself or anyone on the forum to provide and example on how to use the Timer class that I can just initiate in my main application .mxml page, and then at every time interval (say 5min for now) it will dispatch and rpc call to the CF server, and the result Handler will deal with the rest.
Thanks again for everyones help on this.
Thanks for all your help. I did a bit more digging and found that you cannot do real time data transfer, if using Flash Remoting to communicate with server-side code. Flex Data Service is required, and I don't have time to explore that nor the money to setup a Flex Data Service server. So using Timer class and checking at every time interval (which I didn't want to do) is the only way to go. Thanks ATTA for your examples I will use them to move forward. If I have some spare time later on I will give Flex Data Service a try.