RE: [flexcoders] Flex, Remoting and more
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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alberto Albericio Salvador Sent: maandag 27 juni 2005 12:57 To: flexcoders@yahoogroups.com 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/
RE: [flexcoders] Flex, Remoting and more
The danger of persistent connections is one of scaleabilityand of trying to manage a reliable protocol across those connections (as opposed to the relative simplicity of a request/response protocol). A hybrid that weve used is a server-based collector (listener) and clients that ping (a euphemism for lightweight polling) to see if theres something for them to do. The other advantage of polling is pacing you can manage the rate at which events/messages get exchanged even when bursts of events occur. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alberto Albericio Salvador Sent: Monday, June 27, 2005 6:57 AM To: flexcoders@yahoogroups.com 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 -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex, Remoting and more
Hi, Some random ideas... I am not sure, but your call center server can run a Flash application that is connected to FCS server persistently. Or you can run a XMLSocket server on call center server and FCS machine runs a flash application which is connected to Call Center server as well as local FCS, this flash application works as bridge between two... -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick BullottaSent: Monday, June 27, 2005 4:33 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex, Remoting and more The danger of persistent connections is one of scaleability and of trying to manage a reliable protocol across those connections (as opposed to the relative simplicity of a request/response protocol). A hybrid that weve used is a server-based collector (listener) and clients that ping (a euphemism for lightweight polling) to see if theres something for them to do. The other advantage of polling is pacing you can manage the rate at which events/messages get exchanged even when bursts of events occur. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alberto Albericio SalvadorSent: Monday, June 27, 2005 6:57 AMTo: flexcoders@yahoogroups.comSubject: [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 SalvadorAura S.A. SegurosDepartamento Informática--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex, Remoting and more
In some scenarios, what your telling it makes sense.. anyway, Im reading about what the New Data Services in Flex 2.0 will bring and I get the feeling I will be able to use these new features to get this working :) Meantime, any other ideas are welcome. Rick Bullotta escribió: The danger of persistent connections is one of scaleability…and of trying to manage a reliable protocol across those connections (as opposed to the relative simplicity of a request/response protocol). A hybrid that we’ve used is a server-based “collector” (listener) and clients that “ping” (a euphemism for lightweight polling) to see if there’s something for them to do. The other advantage of polling is “pacing” – you can manage the rate at which events/messages get exchanged even when “bursts” of events occur. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Alberto Albericio Salvador *Sent:* Monday, June 27, 2005 6:57 AM *To:* flexcoders@yahoogroups.com *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 -- 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 * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- 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/
Re: [flexcoders] Flex, Remoting and more
Hi Abdul, Is it possible from C# or any other language to connect to this FCS in order to give orders to all Flex clients connected to it? A Abdul Qabiz escribió: Hi, Some random ideas... I am not sure, but your call center server can run a Flash application that is connected to FCS server persistently. Or you can run a XMLSocket server on call center server and FCS machine runs a flash application which is connected to Call Center server as well as local FCS, this flash application works as bridge between two... -abdul *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Rick Bullotta *Sent:* Monday, June 27, 2005 4:33 PM *To:* flexcoders@yahoogroups.com *Subject:* RE: [flexcoders] Flex, Remoting and more The danger of persistent connections is one of scaleability…and of trying to manage a reliable protocol across those connections (as opposed to the relative simplicity of a request/response protocol). A hybrid that we’ve used is a server-based “collector” (listener) and clients that “ping” (a euphemism for lightweight polling) to see if there’s something for them to do. The other advantage of polling is “pacing” – you can manage the rate at which events/messages get exchanged even when “bursts” of events occur. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Alberto Albericio Salvador *Sent:* Monday, June 27, 2005 6:57 AM *To:* flexcoders@yahoogroups.com *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 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- 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 * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- 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/
RE: [flexcoders] Flex, Remoting and more
Hi, FCS can only connect to any Flash Remoting gateway or Flash Player. If FCS connects to Flash Remoting gateway, it would be asynchronous process. It would lead to polling kind of scenario, where FCS would poll(on regular intervals) the Remoting Gateway(.Net or J2ee), in return gets the data. -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alberto Albericio Salvador Sent: Monday, June 27, 2005 5:19 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex, Remoting and more Hi Abdul, Is it possible from C# or any other language to connect to this FCS in order to give orders to all Flex clients connected to it? A Abdul Qabiz escribió: Hi, Some random ideas... I am not sure, but your call center server can run a Flash application that is connected to FCS server persistently. Or you can run a XMLSocket server on call center server and FCS machine runs a flash application which is connected to Call Center server as well as local FCS, this flash application works as bridge between two... -abdul *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Rick Bullotta *Sent:* Monday, June 27, 2005 4:33 PM *To:* flexcoders@yahoogroups.com *Subject:* RE: [flexcoders] Flex, Remoting and more The danger of persistent connections is one of scaleability...and of trying to manage a reliable protocol across those connections (as opposed to the relative simplicity of a request/response protocol). A hybrid that we've used is a server-based collector (listener) and clients that ping (a euphemism for lightweight polling) to see if there's something for them to do. The other advantage of polling is pacing - you can manage the rate at which events/messages get exchanged even when bursts of events occur. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Alberto Albericio Salvador *Sent:* Monday, June 27, 2005 6:57 AM *To:* flexcoders@yahoogroups.com *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 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- 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 * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- 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 -- 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