Sorry for this late reaction. I've done some tests with ColdFusion 7 and their 
new event gateways.

I modified an existing Java socket server to be an event gateway type. This 
enabled me to be able to push data from ColdFusion to all connected Flash 
clients. In Flash I used XMLSocket.

I don't know what kind of server side software u are using, but the combination 
of a socketserver and some server side logic can do the trick. 

The cutback of this is that messages can only be send as string. Offcourse u 
can send xml for complex data, but then u still have problems with numbers and 
booleans. Its however fairly easy to create a serializer / deserializer to send 
complex data as string and still keep certain types.

I hope this information helps u in your quest.


Greetz Erik


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Alberto 
Albericio Salvador
Sent: maandag 27 juni 2005 12:57
To: [email protected]
Subject: [flexcoders] Flex, Remoting and more

Hi all,

I've been reading about "connecting" flex client applications using Flash 
Communication Server(FCS) and shared objects. Thats seems to cover the needs 
for developing chat-like applications...
Now, imagine I have an external "Notification server" (yukon notification 
server, or whatever) And I want FCS to listen
*persistently* to this server. With FCS and Remoting I know how to POLL a 
database "1 time or every 10 seconds" and format that answer to feed the FCS 
but HOW can I create a persistent link to a notification server,socket server 
or similar, get the data this server is pushing, format this data and pass it 
to the FCS?

So basically, I want to know how to replace POLLING with PERSISTENT LISTENING.

Example application: A Flex application that shows the queue of  a call center. 
When a new call arrives, it is shown in every client running the application. 
And it is the call center notification server that tells the FCS it has 
received the new call and NOT the FCS that polls the queue of the notification 
server to see if there is any new call pending.

Thank you mates!

--
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to