You probably want to look into the XMLSocket object.  This can make a connection back to a server and maintain it.  A 0 byte is sent between requests and response without the connection being dropped.  Those requests and responses are xml and could be used for messaging or keep alives to avoid timeout issues.  There are some good Java examples out there on implementing this on the server end, not sure about other platform implementations.
 
Kevin


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mink, Joseph
Sent: Tuesday, October 04, 2005 8:32 AM
To: [email protected]
Subject: [flexcoders] Asynchronous notification

All,
 
We have, up until now, used webservices to check for server-side notifications...we just poll (I know, I hate polling!).  We'd like to move to something more asynchronous, but I thought I'd ask the forum for their recommendation.
 
I know there is some kind of method in AS for making an HTTP request...we could have a servlet that would accept that request, hold onto it until some data comes in, and then finally respond to the request.  Of course there are probably time-out issues that would have to be side-stepped.
 
That's about the only sol'n I can see being possible right now.  I'm not very familiar with RMI and Remote Objects, but can this technology be used asynchronously in Flex?
 
Any thoughts would be appreciated!
 
Thanks.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to